ad_map_access
Namespaces | Functions | Variables
EdgeOperation.hpp File Reference
#include <utility>
#include <vector>
#include "ad/map/point/PointOperation.hpp"
#include "ad/physics/MetricRange.hpp"
#include "ad/physics/Operation.hpp"
#include "ad/physics/ParametricRange.hpp"
#include "ad/physics/ParametricValueValidInputRange.hpp"
#include "ad/physics/RangeOperation.hpp"
Include dependency graph for EdgeOperation.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ad
 namespace ad
 
 ad::map
 namespace map
 
 ad::map::point
 namespace point
 

Functions

template<typename PointType >
physics::RatioValue ad::map::point::findNearestPointOnEdge (PointType const &a, const PointType &pt0, const PointType &pt1)
 Find point nearest to the line formed by two points. More...
 
template<typename PointType >
physics::ParametricValue ad::map::point::findNearestPointOnSegment (PointType const &a, const PointType &pt0, const PointType &pt1)
 Find point nearest to the segment formed by two points. More...
 
template<typename PointType >
physics::Distance ad::map::point::calculateEdgeLength (std::vector< PointType > const &edge)
 Calculate the length of an edge. More...
 
template<typename PointType >
std::vector< physics::ParametricValue > ad::map::point::getParametricEdgePoints (std::vector< PointType > const &edge)
 Get the parametric edge points. More...
 
template<typename PointType >
PointType ad::map::point::getParametricPoint (std::vector< PointType > const &edge, physics::Distance const &edgeLength, const physics::ParametricValue &t)
 Calculates parametric point on the edge. More...
 
template<typename PointType >
PointType ad::map::point::getParametricPoint (std::vector< PointType > const &edge, const physics::ParametricValue &t)
 Calculates parametric point on the edge. More...
 
template<typename PointType >
std::vector< PointType > ad::map::point::getParametricRange (std::vector< PointType > const &edge, physics::Distance const &edgeLength, const physics::ParametricRange &trange)
 Generates sub-edge for given range. More...
 
template<typename PointType >
std::vector< PointType > ad::map::point::getParametricRange (std::vector< PointType > const &edge, const physics::ParametricRange &trange)
 Generates sub-edge for given range. More...
 
template<typename PointType >
physics::ParametricValue ad::map::point::findNearestPointOnEdge (std::vector< PointType > const &edge, physics::Distance const &edgeLength, const PointType &pt)
 Finds point on geometry nearest to given point. More...
 
template<typename PointType >
physics::ParametricValue ad::map::point::findNearestPointOnEdge (std::vector< PointType > const &edge, const PointType &pt)
 Find the nearest point on an edge. More...
 
template<typename PointType >
std::pair< physics::MetricRange, physics::Distance > ad::map::point::calculateWidthRange (std::vector< PointType > const &edgeLeft, physics::Distance const &edgeLeftLength, std::vector< PointType > const &edgeRight, physics::Distance const &edgeRightLength)
 Calculate the width range and the average width of a pair of edges. More...
 
template<typename PointType >
std::vector< PointType > ad::map::point::getLateralAlignmentEdge (std::vector< PointType > const &leftEdge, physics::Distance const &leftEdgeLength, std::vector< PointType > const &rightEdge, physics::Distance const &rightEdgeLength, physics::ParametricValue const lateralAlignment)
 Get an edge between the two given border edges with corresponding lateralAlignment. More...
 
template<typename PointType >
std::vector< PointType > ad::map::point::getLateralAlignmentEdge (std::vector< PointType > const &leftEdge, std::vector< PointType > const &rightEdge, physics::ParametricValue const lateralAlignment)
 Get an edge between the two given border edges with corresponding lateralAlignment. More...
 
template<typename PointType >
PointType ad::map::point::getEdgeStartDirectionalVector (std::vector< PointType > const edge)
 get a normalized vector representing the edge direction at edge start More...
 
template<typename PointType >
PointType ad::map::point::getEdgeEndDirectionalVector (std::vector< PointType > const edge)
 get a normalized vector representing the edge direction at edge end More...
 

Variables

const physics::Distance ad::map::point::cEdgePointBorderDistance {0.1}
 The edge point border distance.