A mutable 3d point. More...
#include <Point.h>

Public Types | |
| using | BasicPoint = BasicPoint3d |
| using | ConstType = ConstPoint3d |
| using | MutableType = Point3d |
Public Types inherited from lanelet::Point2d | |
| using | BasicPoint = BasicPoint2d |
| using | ConstType = ConstPoint2d |
| using | MutableType = Point2d |
| using | ThreeDType = Point3d |
| using | TwoDType = Point2d |
Public Types inherited from lanelet::Primitive< ConstPoint3d > | |
| using | DataType = typename ConstPoint3d ::DataType |
Public Types inherited from lanelet::ConstPoint3d | |
| using | BasicPoint = BasicPoint3d |
| using | ConstType = ConstPoint3d |
| using | MutableType = Point3d |
Public Types inherited from lanelet::ConstPoint2d | |
| using | BasicPoint = BasicPoint2d |
| returned basic point type More... | |
| using | Category = traits::PointTag |
| using | ConstType = ConstPoint2d |
| using | MutableType = Point2d |
| using | ThreeDType = ConstPoint3d |
| using | TwoDType = ConstPoint2d |
Public Types inherited from lanelet::ConstPrimitive< PointData > | |
| using | DataType = PointData |
Public Member Functions | |
| BasicPoint & | basicPoint () noexcept |
| Get a mutable reference to the internal 3d point. More... | |
| const BasicPoint & | basicPoint () const noexcept |
| Get an immutable reference to the internal 3d point. More... | |
| operator BasicPoint2d () const noexcept=delete | |
| operator BasicPoint3d & () noexcept | |
| Implicit cast to a mutable BasicPoint3d. More... | |
| operator const BasicPoint3d & () const noexcept | |
| Implicit cast to an immutable basicPoint3d. More... | |
| Point3d ()=default | |
| Point3d (const Point2d &other) | |
| constructs a 3D from a 2D point. No data is lost in that process. More... | |
| double & | x () noexcept |
| gets a mutable reference to the x coordinate More... | |
| double & | y () noexcept |
| gets a mutable reference to the y coordinate More... | |
| double & | z () noexcept |
| gets a mutable reference to the z coordinate More... | |
Public Member Functions inherited from lanelet::Point2d | |
| auto | basicPoint () noexcept |
| get a mutable reference to the 2d point data More... | |
| const BasicPoint2d & | basicPoint () const noexcept |
| get a basic 2d point More... | |
| operator BasicPoint2d () const noexcept | |
| Cast to a basic 2d point. More... | |
| operator const BasicPoint3d & () const =delete | |
| Point2d ()=default | |
| double & | x () noexcept |
| gets a mutable reference to the x coordinate More... | |
| double & | y () noexcept |
| gets a mutable reference to the y coordinate More... | |
| double | z () const noexcept=delete |
Public Member Functions inherited from lanelet::Primitive< ConstPoint3d > | |
| AttributeMap & | attributes () noexcept |
| get the attributes in a mutable way More... | |
| Primitive ()=default | |
| Primitive (const std::shared_ptr< const DataType > &)=delete | |
| Primitive (const std::shared_ptr< DataType > &data) | |
| Construct a new primitive from shared_ptr to its data. More... | |
| Primitive (const Primitive< OtherT > &rhs) | |
| Construct from another primitive. Only works if both share the same. More... | |
| void | setAttribute (const std::string &name, const Attribute &attribute) |
| set or overwrite an attribute More... | |
| void | setAttribute (AttributeName name, const Attribute &attribute) |
| set or overwrite an attribute (enum version) More... | |
| void | setId (Id id) noexcept |
| set a new id for this primitive More... | |
Public Member Functions inherited from lanelet::ConstPoint3d | |
| const BasicPoint & | basicPoint () const noexcept |
| get a basic 3d point 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... | |
Public Member Functions inherited from lanelet::ConstPoint2d | |
| ConstPoint2d (Id id, const BasicPoint3d &point, const AttributeMap &attributes=AttributeMap()) | |
| Construct from an id and a point. More... | |
Public Member Functions inherited from lanelet::ConstPrimitive< PointData > | |
| const Attribute & | attribute (const std::string &name) const |
| retrieve an attribute More... | |
| const Attribute & | attribute (AttributeName name) const |
| retrieve an attribute (enum version) More... | |
| T | attributeOr (const std::string &name, T defaultVal) const noexcept |
| retrieve an attribute (string version) More... | |
| T | attributeOr (AttributeName name, T defaultVal) const |
| retrieve an attribute (enum 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 (const std::string &name) const noexcept |
| check whether this primitive has a specific attribute More... | |
| bool | hasAttribute (AttributeName name) const noexcept |
| check for an attribute (enum version) 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 |
Static Public Attributes | |
| static constexpr traits::Dimensions | Dimension = traits::Dimensions::Three |
Static Public Attributes inherited from lanelet::Point2d | |
| static constexpr traits::Dimensions | Dimension = traits::Dimensions::Two |
Static Public Attributes inherited from lanelet::Primitive< ConstPoint3d > | |
| static constexpr bool | IsConst |
Static Public Attributes inherited from lanelet::ConstPoint3d | |
| static constexpr traits::Dimensions | Dimension = traits::Dimensions::Three |
Static Public Attributes inherited from lanelet::ConstPoint2d | |
| static constexpr traits::Dimensions | Dimension = traits::Dimensions::Two |
Static Public Attributes inherited from lanelet::ConstPrimitive< PointData > | |
| static constexpr bool | IsConst |
Additional Inherited Members | |
Protected Member Functions inherited from lanelet::Point2d | |
| BasicPoint3d & | point () |
Protected Member Functions inherited from lanelet::Primitive< ConstPoint3d > | |
| std::shared_ptr< DataType > | data () const |
| Primitive & | operator= (Primitive &&rhs) noexcept |
| Primitive & | operator= (const Primitive &rhs) noexcept |
| Primitive (Primitive &&rhs) noexcept | |
| Primitive (const Primitive &rhs) noexcept | |
| ~Primitive () noexcept=default | |
Protected Member Functions inherited from lanelet::ConstPrimitive< PointData > | |
| ConstPrimitive (ConstPrimitive &&rhs) noexcept=default | |
| ConstPrimitive (const ConstPrimitive &rhs)=default | |
| ConstPrimitive & | operator= (ConstPrimitive &&rhs) noexcept=default |
| ConstPrimitive & | operator= (const ConstPrimitive &rhs)=default |
| ~ConstPrimitive () noexcept=default | |
A mutable 3d point.
Definition at line 271 of file primitives/Point.h.
Definition at line 273 of file primitives/Point.h.
Definition at line 274 of file primitives/Point.h.
| using lanelet::Point3d::MutableType = Point3d |
Definition at line 275 of file primitives/Point.h.
|
default |
|
inlineexplicit |
constructs a 3D from a 2D point. No data is lost in that process.
Definition at line 282 of file primitives/Point.h.
|
inlinenoexcept |
Get a mutable reference to the internal 3d point.
Definition at line 297 of file primitives/Point.h.
|
inlinenoexcept |
Get an immutable reference to the internal 3d point.
Definition at line 300 of file primitives/Point.h.
|
deletenoexcept |
|
inlinenoexcept |
Implicit cast to a mutable BasicPoint3d.
Definition at line 291 of file primitives/Point.h.
|
inlinenoexcept |
Implicit cast to an immutable basicPoint3d.
Definition at line 294 of file primitives/Point.h.
|
inlinenoexcept |
gets a mutable reference to the x coordinate
Definition at line 303 of file primitives/Point.h.
|
inlinenoexcept |
gets a mutable reference to the y coordinate
Definition at line 306 of file primitives/Point.h.
|
inlinenoexcept |
gets a mutable reference to the z coordinate
Definition at line 309 of file primitives/Point.h.
|
static |
Definition at line 277 of file primitives/Point.h.