|
| const BasicPoint & | basicPoint () const noexcept |
| | get a basic 3d point More...
|
| |
| | ConstPoint2d (Id id, const BasicPoint3d &point, const AttributeMap &attributes=AttributeMap()) |
| | Construct from an id and a point. More...
|
| |
| | ConstPoint2d (Id id=InvalId, double x=0., double y=0., double z=0., const AttributeMap &attributes=AttributeMap()) |
| | Construct from an id and coordinates. More...
|
| |
| | ConstPoint3d ()=default |
| |
| | ConstPoint3d (const ConstPoint2d &other) |
| |
| | operator BasicPoint2d () const noexcept=delete |
| |
| | operator const BasicPoint3d & () const noexcept |
| | Implicit cast to a basic 3d point. More...
|
| |
| double | z () const noexcept |
| | get the z coordinate More...
|
| |
| const BasicPoint & | basicPoint () const noexcept |
| | Get an Eigen point for faster calculations. More...
|
| |
| const BasicPoint2d & | basicPoint2d () const noexcept |
| |
| | ConstPoint2d (Id id, const BasicPoint3d &point, const AttributeMap &attributes=AttributeMap()) |
| | Construct from an id and a point. More...
|
| |
| | ConstPoint2d (Id id=InvalId, double x=0., double y=0., double z=0., const AttributeMap &attributes=AttributeMap()) |
| | Construct from an id and coordinates. More...
|
| |
| | ConstPrimitive (const ConstPrimitive &rhs)=default |
| |
| | ConstPrimitive (const std::shared_ptr< const Data > &data) |
| | Construct from a pointer to the data. More...
|
| |
| | ConstPrimitive (ConstPrimitive &&rhs) noexcept=default |
| |
| | operator BasicPoint2d () const noexcept |
| | A ConstPoint 2d is implicitly convertible to a normal 2d point. More...
|
| |
| double | x () const noexcept |
| | gets x coordinate More...
|
| |
| double | y () const noexcept |
| | gets y coordinate More...
|
| |
| const Attribute & | attribute (AttributeName name) const |
| | retrieve an attribute (enum version) More...
|
| |
| const Attribute & | attribute (const std::string &name) const |
| | retrieve an attribute More...
|
| |
| T | attributeOr (AttributeName name, T defaultVal) const |
| | retrieve an attribute (enum version) More...
|
| |
| T | attributeOr (const std::string &name, T defaultVal) const noexcept |
| | retrieve an attribute (string version) More...
|
| |
| const AttributeMap & | attributes () const |
| | get the attributes of this primitive More...
|
| |
| const std::shared_ptr< const PointData > & | constData () const |
| | get the internal data of this primitive More...
|
| |
| | ConstPrimitive (const std::shared_ptr< const PointData > &data) |
| | Construct from a pointer to the data. More...
|
| |
| bool | hasAttribute (AttributeName name) const noexcept |
| | check for an attribute (enum version) More...
|
| |
| bool | hasAttribute (const std::string &name) const noexcept |
| | check whether this primitive has a specific attribute More...
|
| |
| Id | id () const noexcept |
| | get the unique id of this primitive More...
|
| |
| bool | operator!= (const ConstPrimitive &rhs) const |
| |
| bool | operator== (const ConstPrimitive &rhs) const |
| |
An immutable 3d point.
Definition at line 202 of file primitives/Point.h.