mirror of https://github.com/CGAL/cgal
added primitive to RegionType concept
This commit is contained in:
parent
255c1ce8f1
commit
863f89e971
|
|
@ -22,6 +22,9 @@ class RegionType {
|
|||
|
||||
public:
|
||||
|
||||
/// The parameters of the primitive covering the region.
|
||||
typedef unspecified_type Primitive;
|
||||
|
||||
/*!
|
||||
checks if the item with the index `index_to`, which is a neighbor of the item
|
||||
with the index `index_from`, can be added to the region represented by `indices`.
|
||||
|
|
@ -50,6 +53,14 @@ public:
|
|||
|
||||
}
|
||||
|
||||
/*!
|
||||
provides the last primitive that has been fitted with the region.
|
||||
*/
|
||||
|
||||
Primitive primitive() const {
|
||||
return Primitive(m_axis, m_radius);
|
||||
}
|
||||
|
||||
/*!
|
||||
enables to update any information that is maintained with the region
|
||||
represented by `indices`.
|
||||
|
|
|
|||
Loading…
Reference in New Issue