Class Polygon2d
Defined in File Polygon.h
Inheritance Relationships
Base Type
public lanelet::LineStringImpl< ConstPolygon2d >
(Template Class LineStringImpl)
Class Documentation
-
class Polygon2d : public lanelet::LineStringImpl<ConstPolygon2d>
An mutable clockwise oriented, open (ie start point != end point) polygon in 2d.
Public Types
-
using ConstType = ConstPolygon2d
Public Functions
-
Polygon2d() = default
-
inline explicit Polygon2d(const LineString2d &other)
Conversion from LineString2d. Does not ensure validity of the polygon!
-
inline explicit operator LineString2d() const
-
inline BasicPolygon2d basicPolygon() const
create a simple 2d polygon from this (just a vector)
-
inline operator BasicPolygon2d() const
-
LineStringImpl() = default
-
template<typename OtherT>
inline explicit LineStringImpl(const LineStringImpl<OtherT> &other) Construct from other (mutable!) LineStrings.
Construct from linestring data.
-
LineStringImpl(LineStringImpl &&rhs) noexcept = default
-
LineStringImpl(const LineStringImpl &rhs) = default
Friends
- friend class Polygon3d
-
using ConstType = ConstPolygon2d