|
CGAL 6.2 - Feature graph
|
#include <CGAL/Feature_graph/Optimization_parameters.h>
Inherited by CGAL::Feature_graph::Optimization_parameters_on_image< NormalEstimator >, and CGAL::Feature_graph::Optimization_parameters_on_surface< NormalEstimator >.
The class Optimization_parameters describes the parameters for the optimization step.
It contains constant values and a normal estimator.
| Normal_estimator | a model of NormalEstimator. |
Types | |
| typedef std::size_t | Size |
| Natural number type. | |
| typedef double | FT |
| Numerical type. | |
| typedef NormalEstimator | Normal_estimator |
| Type of the functor that evaluates normals. | |
Access Functions | |
| Size | maximum_number_of_iteration () const |
| returns the maximum number of iteration of the gradient descent. | |
| FT | start_step_size () const |
| returns the step size at the first iteration of the gradient descent. | |
| FT | end_step_size () const |
| returns the step size at the last iteration of the gradient descent. | |
| FT | mininmum_energy_delta () const |
| returns the minimum energy change to stop the gradient descent iterations. | |
| FT | collapse_distance () const |
| returns the distance to collapse adjacent points in a line during the gradient descent. | |
| FT | smoothing_factor () const |
| returns the smoothing factor of the energy. | |
| FT | refine_normal_distance () const |
| returns the distance to refine the normals of elements near the sharp features. | |
| FT | plane_detection_distance () const |
| returns the distance to collect elements near the sharp features to determine the adjacent planes. | |
| Normal_estimator | normal_estimator () const |
| returns a functor that estimates the normal on an element. | |
| FT CGAL::Feature_graph::Optimization_parameters< NormalEstimator >::smoothing_factor | ( | ) | const |
returns the smoothing factor of the energy.
0 means no smoothing, 1 means that the energy will consider smoothing with the same weight as the displacement toward the sharp features of the surface.