template<typename GeomTraits>
class CGAL::Classification::Feature::Verticality< GeomTraits >
Feature based on local verticality.
The orientation of the local tangent plane of the considered point can be useful to discriminate facades from the ground. This feature can use normal vectors if available or eigen analysis that estimates tangent planes from local neighborhoods.
Its default name is "verticality".
- Template Parameters
-
GeomTraits | model of CGAL Kernel. |
|
template<typename InputRange > |
| Verticality (const InputRange &input, const Local_eigen_analysis &eigen) |
| constructs the feature using local eigen analysis.
|
|
template<typename PointRange , typename VectorMap > |
| Verticality (const PointRange &input, VectorMap normal_map) |
| constructs the feature using provided normals of points.
|
|
const std::string & | name () const |
| returns the name of the feature (initialized to abstract_feature for Feature_base ).
|
|
void | set_name (const std::string &name) |
| changes the name of the feature.
|
|
virtual float | value (std::size_t index)=0 |
| returns the value taken by the feature for at the item for the item at position index .
|
|