CalcPath.cpp File Reference
+ Include dependency graph for CalcPath.cpp:

Go to the source code of this file.

Classes

struct  EdgeProjection
 Projection of point on an edge of the graph. More...
 

Functions

bool getNearestPositionOnEdge (const ::memoryx::GraphNodeBaseList &nodes, float currentX, float currentY, Eigen::Vector2f &closest, memoryx::GraphNodePtr &edgeNode1, memoryx::GraphNodePtr &edgeNode2)
 
std::vector< EdgeProjectiongetNearestPositionOnEdges (const ::memoryx::GraphNodeBaseList &nodes, Eigen::Vector2f robotPos)
 

Function Documentation

◆ getNearestPositionOnEdge()

bool getNearestPositionOnEdge ( const ::memoryx::GraphNodeBaseList &  nodes,
float  currentX,
float  currentY,
Eigen::Vector2f &  closest,
memoryx::GraphNodePtr edgeNode1,
memoryx::GraphNodePtr edgeNode2 
)

Definition at line 53 of file CalcPath.cpp.

◆ getNearestPositionOnEdges()

std::vector<EdgeProjection> getNearestPositionOnEdges ( const ::memoryx::GraphNodeBaseList &  nodes,
Eigen::Vector2f  robotPos 
)

Definition at line 99 of file CalcPath.cpp.

+ Here is the caller graph for this function: