Macros | Typedefs | Functions
geometry.cpp File Reference
#include <lanelet2_core/LaneletMap.h>
#include <lanelet2_core/geometry/Area.h>
#include <lanelet2_core/geometry/Lanelet.h>
#include <lanelet2_core/geometry/LaneletMap.h>
#include <lanelet2_core/geometry/LineString.h>
#include <lanelet2_core/geometry/Polygon.h>
#include <lanelet2_core/geometry/RegulatoryElement.h>
#include <boost/geometry/algorithms/intersection.hpp>
#include <boost/geometry/geometries/register/multi_linestring.hpp>
#include "lanelet2_core/primitives/CompoundPolygon.h"
#include "lanelet2_python/internal/converter.h"
Include dependency graph for geometry.cpp:

Go to the source code of this file.

Macros

#define TO2D_AS(X)
 
#define TO3D_AS(X)
 

Typedefs

using HybridLs2d = ConstHybridLineString2d
 
using HybridLs3d = ConstHybridLineString3d
 

Functions

 BOOST_PYTHON_MODULE (PYTHON_API_MODULE_NAME)
 
template<typename T >
lanelet::BoundingBox2d boundingBox2dFor (const T &t)
 
template<typename T >
lanelet::BoundingBox3d boundingBox3dFor (const T &t)
 
template<typename PtT >
double distancePointToLss (const PtT &p, const object &lss)
 
object to2D (object o)
 
object to3D (object o)
 
std::vector< BasicPoint2dtoBasicVector (const BasicPoints2d &pts)
 
template<typename PrimT >
auto wrapFindNearest ()
 
template<typename PrimT , typename GeometryT >
auto wrapFindWithin2d ()
 
template<typename PrimT , typename GeometryT >
auto wrapFindWithin3d ()
 

Macro Definition Documentation

◆ TO2D_AS

#define TO2D_AS (   X)
Value:
if (extract<X>(o).check()) { \
return object(to2D(extract<X>(o)())); \
}

Definition at line 67 of file geometry.cpp.

◆ TO3D_AS

#define TO3D_AS (   X)
Value:
if (extract<X>(o).check()) { \
return object(to3D(extract<X>(o)())); \
}

Definition at line 73 of file geometry.cpp.

Typedef Documentation

◆ HybridLs2d

Definition at line 24 of file geometry.cpp.

◆ HybridLs3d

Definition at line 23 of file geometry.cpp.

Function Documentation

◆ BOOST_PYTHON_MODULE()

BOOST_PYTHON_MODULE ( PYTHON_API_MODULE_NAME  )

Definition at line 121 of file geometry.cpp.

◆ boundingBox2dFor()

template<typename T >
lanelet::BoundingBox2d boundingBox2dFor ( const T &  t)

Definition at line 57 of file geometry.cpp.

◆ boundingBox3dFor()

template<typename T >
lanelet::BoundingBox3d boundingBox3dFor ( const T &  t)

Definition at line 62 of file geometry.cpp.

◆ distancePointToLss()

template<typename PtT >
double distancePointToLss ( const PtT &  p,
const object &  lss 
)

Definition at line 79 of file geometry.cpp.

◆ to2D()

object to2D ( object  o)

Definition at line 89 of file geometry.cpp.

◆ to3D()

object to3D ( object  o)

Definition at line 104 of file geometry.cpp.

◆ toBasicVector()

std::vector<BasicPoint2d> toBasicVector ( const BasicPoints2d pts)

Definition at line 52 of file geometry.cpp.

◆ wrapFindNearest()

template<typename PrimT >
auto wrapFindNearest ( )

Definition at line 27 of file geometry.cpp.

◆ wrapFindWithin2d()

template<typename PrimT , typename GeometryT >
auto wrapFindWithin2d ( )

Definition at line 36 of file geometry.cpp.

◆ wrapFindWithin3d()

template<typename PrimT , typename GeometryT >
auto wrapFindWithin3d ( )

Definition at line 44 of file geometry.cpp.

to3D
object to3D(object o)
Definition: geometry.cpp:104
to2D
object to2D(object o)
Definition: geometry.cpp:89


lanelet2_python
Author(s): Fabian Poggenhans
autogenerated on Thu Mar 6 2025 03:26:14