CollectionElement, a Primitive with flags Primitive : Point_d, Segment_d, Surface_d, Volume_d.
More...
#include <GeometrySet.h>
template<class Primitive>
class SFCGAL::detail::CollectionElement< Primitive >
CollectionElement, a Primitive with flags Primitive : Point_d, Segment_d, Surface_d, Volume_d.
template<class Primitive >
template<class Primitive >
Constructor from primitive.
- Parameters
-
| primitive | The primitive to wrap |
template<class Primitive >
Constructor from primitive with flags.
- Parameters
-
| primitive | The primitive to wrap |
| flags | The initial flags |
template<class Primitive >
Copy constructor.
- Parameters
-
| other | The element to copy from |
template<class Primitive >
Get element flags.
- Returns
- The flags associated with this element
template<class Primitive >
Less-than comparison operator.
- Parameters
-
| other | The element to compare with |
- Returns
- True if this element is less than other
template<class Primitive >
Copy assignment operator.
- Parameters
-
| other | The element to copy from |
- Returns
- Reference to this
template<class Primitive >
Get mutable reference to primitive.
- Returns
- Reference to the underlying primitive
template<class Primitive >
Get const reference to primitive.
- Returns
- Const reference to the underlying primitive
template<class Primitive >
Set element flags.
- Parameters
-
| flags | The flags to set for this element |