#include <CGAL/Shape_detection/Efficient_RANSAC/property_map.h>
template<typename Traits>
class CGAL::Shape_detection::Point_to_shape_index_map< Traits >
Property map that associates a point index to its assigned shape found by the CGAL::Shape_detection::Efficient_RANSAC
algorithm.
|
typedef std::size_t | key_type |
| Index of the point in the random access point range.
|
|
typedef int | value_type |
| Index of the shape (-1 if the point is not assigned to any shape).
|
|
typedef value_type | reference |
|
typedef boost::readable_property_map_tag | category |
|
|
template<typename PointRange , typename ShapeRange > |
| Point_to_shape_index_map (const PointRange &points, const ShapeRange &shapes) |
| Constructs a property map to map points to their associated shape.
|
|
◆ Point_to_shape_index_map()
template<typename Traits >
template<typename PointRange , typename ShapeRange >
Constructs a property map to map points to their associated shape.
- Note
shapes
must be a range of shapes detected using points
.
- Template Parameters
-