Go to the documentation of this file.
50 template <
typename PrimitiveT>
75 template <
typename PrimitiveT>
79 template <
typename PrimitiveT>
83 template <
typename PrimitiveT>
87 template <
typename PrimitiveT>
91 template <
typename PrimitiveT>
95 template <
typename PrimitiveT>
101 template <
typename PrimitiveT>
107 template <
typename PrimitiveT>
112 template <
typename PrimitiveT>
114 return std::is_same<PrimitiveT, ConstPrimitiveType<PrimitiveT>>::value;
118 template <
typename PrimitiveT>
124 template <
typename PrimitiveT>
132 template <
typename Po
intT>
142 template <
typename LineStringT>
149 template <
typename PolygonT>
155 template <
typename Po
intT>
158 template <
typename Po
intT>
161 template <
typename Po
intT>
164 template <
typename Po
intT>
166 return point.basicPoint();
168 template <
typename Po
intT>
170 -> std::enable_if_t<!PointTraits<PointT>::IsPrimitive && std::is_same<PointT, BasicPointT<PointT>>::value, PointT> {
173 template <
typename Po
intT>
175 -> std::enable_if_t<!PointTraits<PointT>::IsPrimitive && !std::is_same<PointT, BasicPointT<PointT>>::value,
176 BasicPointT<PointT>> {
177 return BasicPointT<PointT>(point);
180 template <
typename PrimT,
typename TagT>
182 return std::is_same<typename PrimitiveTraits<std::decay_t<PrimT>>::Category, TagT>::value;
185 template <
typename T>
187 return !traits::isCategory<T, traits::RegulatoryElementTag>();
190 template <
typename LineStringT>
193 template <
typename PrimT>
RegulatoryElementPtr ThreeDType
typename PrimitiveTraits< PointT >::MutableType MutablePoint
typename LineStringT ::ConstType ConstType
Data container for all RegulatoryElement types.
BoundingBox2d to2D(const BoundingBox3d &primitive)
std::shared_ptr< RegulatoryElement > RegulatoryElementPtr
RegulatoryElementConstPtr ConstType
Identifies PointPrimitives.
RegulatoryElementPtr MutableType
auto toBasicPoint(const PointT &point) -> std::enable_if_t< PointTraits< PointT >::IsPrimitive, BasicPointT< PointT >>
typename PointTraits< PointT >::MutablePoint MutablePointT
static constexpr bool IsPrimitive
Identifies bounding boxes.
Specialization of traits for linestrings.
RegulatoryElementPtr MutableType
Identifies LineStringPrimitives.
typename PolygonT::HybridType HybridType
Famous Area class that represents a basic area as element of the map.
typename PrimitiveTraits< PointT >::ConstType ConstPoint
typename LineStringT ::MutableType MutableType
constexpr bool is2D()
Checks (at compile time) whether a primitive is two dimensional.
typename LineStringTraits< LineStringT >::PointType PointType
RegulatoryElementPtr ThreeDType
The famous (mutable) lanelet class.
constexpr bool is3D()
Checks (at compile time) whether a primitive is three dimensional.
typename PointT::BasicPoint BasicPoint
RegulatoryElementPtr TwoDType
Id getId(const PrimT &prim)
Can be used to determine which primitive type is managed by a primitive.
typename PrimitiveTraits< PrimitiveT >::MutableType MutablePrimitiveType
Utility for determinig the matching mutable type for a primitive.
constexpr bool isCategory()
typename PrimitiveTraits< PrimitiveT >::ConstType ConstPrimitiveType
Utility for determinig the matching const type for a primitive.
typename LineStringT ::TwoDType TwoDType
ConstPrimitiveType< PrimitiveT > toConst(const PrimitiveT &primitive)
Converts a primitive to its matching const type.
std::shared_ptr< const RegulatoryElement > RegulatoryElementConstPtr
typename Owned< PrimitiveT >::Type OwnedT
Identifies PolygonPrimitives.
typename LineStringT ::DataType DataType
typename LineStringT ::Category Category
constexpr bool noRegelem()
typename LineStringT::PointType PointType
A mutable clockwise oriented, open (ie start point != end point) polygon in 3d.
Identifies LaneletPrimitives.
Specialization of traits for polygons.
typename PolygonT::PointType PointType
typename LineStringT::HybridType HybridType
static constexpr Dimensions Dimension
Specialization of traits for points.
typename PointTraits< PointT >::BasicPoint BasicPointT
Identifies RegulatoryElementPrimitives.
typename PointTraits< PointT >::ConstPoint ConstPointT
typename LineStringT ::ThreeDType ThreeDType
A normal 3d linestring with mutable data.
RegulatoryElementConstPtr ConstType
typename PrimitiveTraits< PrimitiveT >::ThreeDType ThreeD
f Utility for determinig the matching three dimensional type for a primitive
BoundingBox3d to3D(const BoundingBox2d &primitive)
typename PrimitiveTraits< PrimitiveT >::TwoDType TwoD
Utility for determinig the matching two dimensional type for a primitive.
RegulatoryElementPtr TwoDType
Identifies AreaPrimitives.
lanelet2_core
Author(s): Fabian Poggenhans
autogenerated on Thu Mar 6 2025 03:25:52