CGAL 5.4.4 - Classification
|
#include <CGAL/Classification/Feature/Simple_feature.h>
CGAL::Classification::Feature_base.
Feature based on a user-defined scalar field.
InputRange | model of ConstRange . Its iterator type is RandomAccessIterator . |
PropertyMap | model of ReadablePropertyMap whose key type is the value type of the iterator of PointRange and value type is statically castable to float . |
Public Member Functions | |
Simple_feature (const InputRange &input, PropertyMap property_map, const std::string &name) | |
constructs the feature using an input range and a property map. 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::Simple_feature< InputRange, PropertyMap >::Simple_feature | ( | const InputRange & | input, |
PropertyMap | property_map, | ||
const std::string & | name | ||
) |
constructs the feature using an input range and a property map.
input | point range. |
property_map | property map to access scalar field. |
name | name of the property (no default name is given). |