CGAL 5.1.1 - Classification
|
#include <CGAL/Classification/Feature/Vertical_range.h>
CGAL::Classification::Feature_base.
Feature based on local height distribution.
This feature computes the distance between the maximum and the minimum height on the local cell of the planimetric grid.
Its default name is "vertical_range".
GeomTraits | model of CGAL Kernel. |
PointRange | model of ConstRange . Its iterator type is RandomAccessIterator and its value type is the key type of PointMap . |
PointMap | model of ReadablePropertyMap whose key type is the value type of the iterator of PointRange and value type is GeomTraits::Point_3 . |
Public Member Functions | |
Vertical_range (const PointRange &input, PointMap point_map, const Grid &grid) | |
Constructs the feature. More... | |
Public Member Functions inherited from CGAL::Classification::Feature_base | |
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 . More... | |
CGAL::Classification::Feature::Vertical_range< GeomTraits, PointRange, PointMap >::Vertical_range | ( | const PointRange & | input, |
PointMap | point_map, | ||
const Grid & | grid | ||
) |
Constructs the feature.
input | point range. |
point_map | property map to access the input points. |
grid | precomputed Planimetric_grid . |