Namespaces | |
detail | |
internal | |
Typedefs | |
template<typename PointT > | |
using | BasicPointT = typename PointTraits< PointT >::BasicPoint |
template<typename PointT > | |
using | ConstPointT = typename PointTraits< PointT >::ConstPoint |
template<typename PrimitiveT > | |
using | ConstPrimitiveType = typename PrimitiveTraits< PrimitiveT >::ConstType |
Utility for determinig the matching const type for a primitive. More... | |
template<typename LineStringT > | |
using | HybridT = typename detail::HybridType< LineStringT >::Type |
template<typename T > | |
using | LayerPrimitiveType = typename LayerPrimitive< T >::Type |
template<typename PointT > | |
using | MutablePointT = typename PointTraits< PointT >::MutablePoint |
template<typename PrimitiveT > | |
using | MutablePrimitiveType = typename PrimitiveTraits< PrimitiveT >::MutableType |
Utility for determinig the matching mutable type for a primitive. More... | |
template<typename PrimitiveT > | |
using | OwnedT = typename Owned< PrimitiveT >::Type |
template<typename LineStringT > | |
using | PointType = typename LineStringTraits< LineStringT >::PointType |
template<typename PrimitiveT > | |
using | ThreeD = typename PrimitiveTraits< PrimitiveT >::ThreeDType |
f Utility for determinig the matching three dimensional type for a primitive More... | |
template<typename PrimitiveT > | |
using | TwoD = typename PrimitiveTraits< PrimitiveT >::TwoDType |
Utility for determinig the matching two dimensional type for a primitive. More... | |
Enumerations | |
enum | Dimensions { Dimensions::Two = 2, Dimensions::Three = 3 } |
Functions | |
template<typename PrimT > | |
Id | getId (const PrimT &prim) |
template<> | |
Id | getId< ConstRuleParameter > (const ConstRuleParameter &prim) |
template<> | |
Id | getId< RegulatoryElementConstPtr > (const RegulatoryElementConstPtr &prim) |
template<> | |
Id | getId< RegulatoryElementPtr > (const RegulatoryElementPtr &prim) |
template<> | |
Id | getId< RuleParameter > (const RuleParameter &prim) |
Extracts the id of a rule parameter. More... | |
template<typename PrimitiveT > | |
constexpr bool | is2D () |
Checks (at compile time) whether a primitive is two dimensional. More... | |
template<typename PrimitiveT > | |
constexpr bool | is3D () |
Checks (at compile time) whether a primitive is three dimensional. More... | |
template<typename T > | |
constexpr bool | isAreaT () |
template<typename PrimT , typename TagT > | |
constexpr bool | isCategory () |
template<typename PrimitiveT > | |
constexpr bool | isConst () |
template<typename PrimitiveT > | |
constexpr bool | isLaneletPrimitive () |
template<typename T > | |
constexpr bool | isLaneletT () |
template<typename T > | |
constexpr bool | isLinestringT () |
template<typename T > | |
constexpr bool | isPointT () |
template<typename T > | |
constexpr bool | isPolygonT () |
template<typename T > | |
constexpr bool | isRegulatoryElementT () |
template<typename T > | |
constexpr bool | noRegelem () |
template<> | |
BasicPoint2d | to2D (const BasicPoint3d &primitive) |
BoundingBox2d | to2D (const BoundingBox3d &primitive) |
template<typename PrimitiveT > | |
auto | to2D (const PrimitiveT &primitive) -> TwoD< PrimitiveT > |
Converts a primitive to its matching twoD type. More... | |
template<> | |
BasicLineString2d | to2D< BasicLineString3d > (const BasicLineString3d &primitive) |
template<> | |
BasicPolygon2d | to2D< BasicPolygon3d > (const BasicPolygon3d &primitive) |
template<> | |
BasicPoint3d | to3D (const BasicPoint2d &primitive) |
BoundingBox3d | to3D (const BoundingBox2d &primitive) |
template<typename PrimitiveT > | |
auto | to3D (const PrimitiveT &primitive) -> ThreeD< PrimitiveT > |
Converts a primitive to its matching threeD type. More... | |
template<typename PointT > | |
auto | toBasicPoint (const PointT &point) -> std::enable_if_t< PointTraits< PointT >::IsPrimitive, BasicPointT< PointT >> |
BasicPolygon2d | toBasicPolygon2d (BasicPolygon2d &&t) |
template<typename PolygonT > | |
std::enable_if_t< traits::isPolygonT< PolygonT >), BasicPolygon2d > | toBasicPolygon2d (const PolygonT &t) |
template<> | |
BasicPolygon2d | toBasicPolygon2d< BasicPolygon2d > (const BasicPolygon2d &t) |
template<> | |
BasicPolygon2d | toBasicPolygon2d< BasicPolygon3d > (const BasicPolygon3d &t) |
BasicPolygon3d | toBasicPolygon3d (BasicPolygon3d &&t) |
template<typename PolygonT > | |
std::enable_if_t< traits::isPolygonT< PolygonT >), BasicPolygon3d > | toBasicPolygon3d (const PolygonT &t) |
template<> | |
BasicPolygon3d | toBasicPolygon3d< BasicPolygon3d > (const BasicPolygon3d &t) |
template<typename PointT > | |
auto | toBasicSegment (const Segment< PointT > &s) |
template<typename PrimitiveT > | |
ConstPrimitiveType< PrimitiveT > | toConst (const PrimitiveT &primitive) |
Converts a primitive to its matching const type. More... | |
template<> | |
ConstRuleParameter | toConst< RuleParameter > (const RuleParameter &primitive) |
template<typename LineStringT > | |
constexpr auto | toHybrid (const LineStringT ls) |
using lanelet::traits::BasicPointT = typedef typename PointTraits<PointT>::BasicPoint |
using lanelet::traits::ConstPointT = typedef typename PointTraits<PointT>::ConstPoint |
using lanelet::traits::ConstPrimitiveType = typedef typename PrimitiveTraits<PrimitiveT>::ConstType |
using lanelet::traits::HybridT = typedef typename detail::HybridType<LineStringT>::Type |
Definition at line 762 of file primitives/LineString.h.
using lanelet::traits::LayerPrimitiveType = typedef typename LayerPrimitive<T>::Type |
Definition at line 560 of file LaneletMap.h.
using lanelet::traits::MutablePointT = typedef typename PointTraits<PointT>::MutablePoint |
using lanelet::traits::MutablePrimitiveType = typedef typename PrimitiveTraits<PrimitiveT>::MutableType |
using lanelet::traits::OwnedT = typedef typename Owned<PrimitiveT>::Type |
using lanelet::traits::PointType = typedef typename LineStringTraits<LineStringT>::PointType |
using lanelet::traits::ThreeD = typedef typename PrimitiveTraits<PrimitiveT>::ThreeDType |
using lanelet::traits::TwoD = typedef typename PrimitiveTraits<PrimitiveT>::TwoDType |
|
strong |
Id lanelet::traits::getId | ( | const PrimT & | prim | ) |
Id lanelet::traits::getId< ConstRuleParameter > | ( | const ConstRuleParameter & | prim | ) |
Definition at line 196 of file RegulatoryElement.cpp.
|
inline |
Definition at line 302 of file primitives/RegulatoryElement.h.
|
inline |
Definition at line 297 of file primitives/RegulatoryElement.h.
Id lanelet::traits::getId< RuleParameter > | ( | const RuleParameter & | prim | ) |
Extracts the id of a rule parameter.
Definition at line 191 of file RegulatoryElement.cpp.
|
constexpr |
|
constexpr |
|
constexpr |
Definition at line 358 of file primitives/Area.h.
|
constexpr |
|
constexpr |
|
constexpr |
Definition at line 321 of file Primitive.h.
|
constexpr |
Definition at line 381 of file primitives/Lanelet.h.
|
constexpr |
Definition at line 744 of file primitives/LineString.h.
|
constexpr |
Definition at line 330 of file primitives/Point.h.
|
constexpr |
Definition at line 370 of file primitives/Polygon.h.
|
constexpr |
Definition at line 497 of file primitives/RegulatoryElement.h.
|
constexpr |
|
inline |
Definition at line 92 of file primitives/Point.h.
|
inline |
Definition at line 304 of file primitives/BoundingBox.h.
auto lanelet::traits::to2D | ( | const PrimitiveT & | primitive | ) | -> TwoD<PrimitiveT> |
|
inline |
Definition at line 68 of file primitives/LineString.h.
|
inline |
Definition at line 391 of file primitives/Polygon.h.
|
inline |
Definition at line 88 of file primitives/Point.h.
|
inline |
Definition at line 303 of file primitives/BoundingBox.h.
auto lanelet::traits::to3D | ( | const PrimitiveT & | primitive | ) | -> ThreeD<PrimitiveT> |
auto lanelet::traits::toBasicPoint | ( | const PointT & | point | ) | -> std::enable_if_t<PointTraits<PointT>::IsPrimitive, BasicPointT<PointT>> |
|
inline |
Definition at line 412 of file primitives/Polygon.h.
std::enable_if_t<traits::isPolygonT<PolygonT>), BasicPolygon2d> lanelet::traits::toBasicPolygon2d | ( | const PolygonT & | t | ) |
Definition at line 398 of file primitives/Polygon.h.
|
inline |
Definition at line 403 of file primitives/Polygon.h.
|
inline |
Definition at line 408 of file primitives/Polygon.h.
|
inline |
Definition at line 424 of file primitives/Polygon.h.
std::enable_if_t<traits::isPolygonT<PolygonT>), BasicPolygon3d> lanelet::traits::toBasicPolygon3d | ( | const PolygonT & | t | ) |
Definition at line 415 of file primitives/Polygon.h.
|
inline |
Definition at line 420 of file primitives/Polygon.h.
auto lanelet::traits::toBasicSegment | ( | const Segment< PointT > & | s | ) |
Definition at line 75 of file primitives/LineString.h.
ConstPrimitiveType<PrimitiveT> lanelet::traits::toConst | ( | const PrimitiveT & | primitive | ) |
ConstRuleParameter lanelet::traits::toConst< RuleParameter > | ( | const RuleParameter & | primitive | ) |
Definition at line 171 of file RegulatoryElement.cpp.
|
constexpr |
Definition at line 765 of file primitives/LineString.h.