Class ConstPoint3d
Defined in File Point.h
Inheritance Relationships
Base Type
public lanelet::ConstPoint2d
(Class ConstPoint2d)
Derived Type
public lanelet::Primitive< ConstPoint3d >
(Template Class Primitive)
Class Documentation
-
class ConstPoint3d : public lanelet::ConstPoint2d
An immutable 3d point.
Subclassed by lanelet::Primitive< ConstPoint3d >
Public Functions
-
ConstPoint3d() = default
-
inline explicit ConstPoint3d(const ConstPoint2d &other)
-
operator BasicPoint2d() const noexcept = delete
-
inline operator const BasicPoint3d&() const noexcept
Implicit cast to a basic 3d point.
-
inline const BasicPoint &basicPoint() const noexcept
get a basic 3d point
-
inline double z() const noexcept
get the z coordinate
-
inline ConstPoint2d(Id id, const BasicPoint3d &point, const AttributeMap &attributes = AttributeMap())
Construct from an id and a point.
-
inline explicit ConstPoint2d(Id id = InvalId, double x = 0., double y = 0., double z = 0., const AttributeMap &attributes = AttributeMap())
Construct from an id and coordinates.
The z coordinate is required because this point can be converted to a 3d point, where z matters.
Public Static Attributes
-
static constexpr traits::Dimensions Dimension = traits::Dimensions::Three
-
ConstPoint3d() = default