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.
◆ CollectionElement() [1/4]
◆ CollectionElement() [2/4]
Constructor from primitive.
- Parameters
-
◆ CollectionElement() [3/4]
Constructor from primitive with flags.
- Parameters
-
◆ CollectionElement() [4/4]
Copy constructor.
- Parameters
-
| other | The element to copy from |
◆ flags()
Get element flags.
- Returns
- The flags associated with this element
◆ operator<()
Less-than comparison operator.
- Parameters
-
| other | The element to compare with |
- Returns
- True if this element is less than other
◆ operator=()
Copy assignment operator.
- Parameters
-
| other | The element to copy from |
- Returns
- Reference to this
◆ primitive() [1/2]
Get mutable reference to primitive.
- Returns
- Reference to the underlying primitive
◆ primitive() [2/2]
Get const reference to primitive.
- Returns
- Const reference to the underlying primitive
◆ setFlags()
Set element flags.
- Parameters
-
| flags | The flags to set for this element |