CGAL 5.6 - Classification
|
#include <CGAL/Classification/Feature/Cluster_vertical_extent.h>
CGAL::Classification::Feature_base.
Feature that returns the length of the smallest interval on the Z
axis that contains all the items of a cluster.
Its default name is "cluster_vertical_extent".
Public Member Functions | |
template<typename ClusterRange > | |
Cluster_vertical_extent (const ClusterRange &clusters) | |
constructs the feature. | |
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 . | |
CGAL::Classification::Feature::Cluster_vertical_extent::Cluster_vertical_extent | ( | const ClusterRange & | clusters | ) |
constructs the feature.
ClusterRange | model of ConstRange . Its iterator type is RandomAccessIterator and its value type is the key type of Cluster . |
clusters | input range. |