-
a property map that maps a plane from
planes
range toCGAL::Plane_3<GeomTraits>
-
Type: a model of
WritablePropertyMap
with the value typeCGAL::Plane_3<GeomTraits>
-
Default:
PlaneMap()
CGAL 6.0 - Shape Regularization
|
Models and functions that can be used when regularizing planes.
Functions | |
template<typename PlaneRange , typename PointRange , typename NamedParameters > | |
void | CGAL::Shape_regularization::Planes::regularize_planes (PlaneRange &planes, const PointRange &points, const NamedParameters &np) |
Hierarchical plane regularization. | |
void CGAL::Shape_regularization::Planes::regularize_planes | ( | PlaneRange & | planes, |
const PointRange & | points, | ||
const NamedParameters & | np | ||
) |
#include <CGAL/Shape_regularization/regularize_planes.h>
Hierarchical plane regularization.
Given a set of detected planes with their corresponding inlier sets, this function enables to reinforce four types of regularities among these planes:
Planes are directly modified. Points are left unaltered, as well as their relationship to the planes (no transfer of a point from a primitive plane to another).
This function infers a traits class GeomTraits
from the PointRange
value type.
The implementation follows [2].
PlaneRange | a model of Range whose iterator type is RandomAccessIterator |
PointRange | a model of ConstRange whose iterator type is RandomAccessIterator |
NamedParameters | a sequence of Named Parameters |
planes | a range of planes to be regularized |
points | a const range of points assigned to planes, see the plane_index_map below for more details |
np | a sequence of Named Parameters among the ones listed below: |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|