CGAL 6.2 - Feature graph
Loading...
Searching...
No Matches
CGAL::Feature_graph::Regularization_parameters_on_surface Class Reference

#include <CGAL/Feature_graph/Regularization_parameters.h>

Inherits from

CGAL::Feature_graph::Regularization_parameters.

Definition

Types

typedef Base::FT FT
 Numerical type.
 

Constructor

template<typename NamedParameters = CGAL::parameters::Default_named_parameters>
 Regularization_parameters_on_surface (const NamedParameters &np=parameters::default_values())
 constructs the parameters used to regularize the feature graph extracted from a surface.
 

Additional Inherited Members

- Public Types inherited from CGAL::Feature_graph::Regularization_parameters
typedef double FT
 Numerical type.
 
- Public Member Functions inherited from CGAL::Feature_graph::Regularization_parameters
template<typename DimensionTag , typename Point_3 , typename Index >
FT isthmus_line_distance_threshold (const Point_3 &point_in_space, const Index &element_index) const
 returns the threshold on the distance between an isthmus line and any line at a point on the surface.
 
template<typename DimensionTag , typename Point_3 , typename Index >
FT simple_line_distance_threshold (const Point_3 &point_in_space, const Index &element_index) const
 returns the threshold on the distance between a simple line and any line at a point on the surface.
 
template<typename DimensionTag , typename Point_3 , typename Index >
FT corner_line_distance_threshold (const Point_3 &point_in_space, const Index &element_index) const
 returns the threshold on the distance between a corner line and any line at a point on the surface.
 

Constructor & Destructor Documentation

◆ Regularization_parameters_on_surface()

template<typename NamedParameters = CGAL::parameters::Default_named_parameters>
CGAL::Feature_graph::Regularization_parameters_on_surface::Regularization_parameters_on_surface ( const NamedParameters &  np = parameters::default_values())

constructs the parameters used to regularize the feature graph extracted from a surface.

Template Parameters
NamedParametersa sequence of Named Parameters
Parameters
npan optional sequence of Named Parameters among the ones listed below.
Optional Named Parameters
  • the threshold on the distance between lines. In the regularization step, if the maximum distance of a line to another line is less than this threshold, then the line is collapsed. It can be a constant or a functor that return the threshold at a point on the surface. If it is a functor, it must implement
    • template <typename DimensionTag, typename Point_3, typename Index>
      FT operator()(const Point_3& point_in_space, const Index& element_index) const
  • Default: FT(0.0)
  • Extra: This paremeter sets a baseline distance and is overriden by the parameters parameters::isthmus_line_distance_threshold, parameters::simple_line_distance_threshold and parameters::corner_line_distance_threshold if they are set.
  • the threshold on the distance between an isthmus line and any line. An isthmus line is bounded by a corner that is incident to only the same line. In the regularization step, if the maximum distance of a line to another line is less than this threshold, then the line is collapsed. It can be a constant or a functor that return the threshold at a point on the surface. If it is a functor, it must implement
    • template <typename DimensionTag, typename Point_3, typename Index>
      FT operator()(const Point_3& point_in_space, const Index& element_index) const
  • Default: FT(-1.0)
  • Extra: Negative values implies the use of the parameter parameters::line_distance_threshold.
  • the threshold on the distance between a simple line and any line. A simple line is a line that can be removed without splitting the graph of its neighbors. In the regularization step, if the maximum distance of a line to another line is less than this threshold, then the line is collapsed. It can be a constant or a functor that return the threshold at a point on the surface. If it is a functor, it must implement
    • template <typename DimensionTag, typename Point_3, typename Index>
      FT operator()(const Point_3& point_in_space, const Index& element_index) const
  • Default: FT(-1.0)
  • Extra: Negative values implies the use of the parameter parameters::line_distance_threshold.
  • the threshold on the distance between a corner line and any line. A corner line is neither isthmus nor simple. In the regularization step, if the maximum distance of a line to another line is less than this threshold, then the line is collapsed. It can be a constant or a functor that return the threshold at a point on the surface. If it is a functor, it must implement
    • template <typename DimensionTag, typename Point_3, typename Index>
      FT operator()(const Point_3& point_in_space, const Index& element_index) const
  • Default: FT(-1.0)
  • Extra: Negative values implies the use of the parameter parameters::line_distance_threshold.