Class Point2d
Defined in File Point.h
Inheritance Relationships
Base Type
public lanelet::Primitive< ConstPoint3d >
(Template Class Primitive)
Derived Type
public lanelet::Point3d
(Class Point3d)
Class Documentation
-
class Point2d : public lanelet::Primitive<ConstPoint3d>
A mutable 2d point.
Subclassed by lanelet::Point3d
Public Functions
-
Point2d() = default
-
operator const BasicPoint3d&() const = delete
-
inline operator BasicPoint2d() const noexcept
Cast to a basic 2d point.
-
inline auto basicPoint() noexcept
get a mutable reference to the 2d point data
-
inline const BasicPoint2d &basicPoint() const noexcept
get a basic 2d point
-
inline double &x() noexcept
gets a mutable reference to the x coordinate
-
inline double &y() noexcept
gets a mutable reference to the y coordinate
-
double z() const noexcept = delete
-
Primitive() = default
Construct a new primitive from shared_ptr to its data.
Public Static Attributes
-
static constexpr traits::Dimensions Dimension = traits::Dimensions::Two
Protected Functions
-
inline BasicPoint3d &point()
Friends
- friend class Primitive
-
Point2d() = default