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_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)())); \
}
object to2D(object o)
Definition: geometry.cpp:88

Definition at line 66 of file geometry.cpp.

◆ TO3D_AS

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

Definition at line 72 of file geometry.cpp.

Typedef Documentation

◆ HybridLs2d

Definition at line 23 of file geometry.cpp.

◆ HybridLs3d

Definition at line 22 of file geometry.cpp.

Function Documentation

◆ BOOST_PYTHON_MODULE()

BOOST_PYTHON_MODULE ( PYTHON_API_MODULE_NAME  )

Definition at line 118 of file geometry.cpp.

◆ boundingBox2dFor()

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

Definition at line 56 of file geometry.cpp.

◆ boundingBox3dFor()

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

Definition at line 61 of file geometry.cpp.

◆ distancePointToLss()

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

Definition at line 78 of file geometry.cpp.

◆ to2D()

object to2D ( object  o)

Definition at line 88 of file geometry.cpp.

◆ to3D()

object to3D ( object  o)

Definition at line 102 of file geometry.cpp.

◆ toBasicVector()

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

Definition at line 51 of file geometry.cpp.

◆ wrapFindNearest()

template<typename PrimT >
auto wrapFindNearest ( )

Definition at line 26 of file geometry.cpp.

◆ wrapFindWithin2d()

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

Definition at line 35 of file geometry.cpp.

◆ wrapFindWithin3d()

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

Definition at line 43 of file geometry.cpp.



lanelet2_python
Author(s): Fabian Poggenhans
autogenerated on Tue Jun 6 2023 02:23:59