Functions
Euclidean Namespace Reference

Functions

void DistanceFromLine (float cx, float cy, float ax, float ay, float bx, float by, float &distanceSegment, float &distanceLine)
void DistanceFromLine (const MapXY &c, const MapXY &a, const MapXY &b, float &distanceSegment, float &distanceLine)
float DistanceTo (MapPose p1, MapPose p2)
float DistanceTo (float p1x, float p1y, float p2x, float p2y)
float DistanceTo (MapXY p1, MapXY p2)
float DistanceToTime (float distance, float speed)
float DistanceToWaypt (const MapPose &pose, const WayPointNode &waypt)
float DistanceToWaypt (MapXY point, const WayPointNode &waypt)
float DistanceToWaypt (Polar polar, const MapPose &origin, const WayPointNode &waypt)
bool point_in_line_segment (MapXY point, MapXY lp1, MapXY lp2)

Function Documentation

void Euclidean::DistanceFromLine ( float  cx,
float  cy,
float  ax,
float  ay,
float  bx,
float  by,
float &  distanceSegment,
float &  distanceLine 
) [inline]

find the distance from the point (cx,cy) to the line determined by the points (ax,ay) and (bx,by)

Definition at line 30 of file euclidean_distance.h.

void Euclidean::DistanceFromLine ( const MapXY c,
const MapXY a,
const MapXY b,
float &  distanceSegment,
float &  distanceLine 
) [inline]

Definition at line 73 of file euclidean_distance.h.

float Euclidean::DistanceTo ( MapPose  p1,
MapPose  p2 
) [inline]

find the Euclidean distance between poses p1 and p2

Definition at line 84 of file euclidean_distance.h.

float Euclidean::DistanceTo ( float  p1x,
float  p1y,
float  p2x,
float  p2y 
) [inline]

find the Euclidean distance between poses p1 and p2

Definition at line 92 of file euclidean_distance.h.

float Euclidean::DistanceTo ( MapXY  p1,
MapXY  p2 
) [inline]

find the Euclidean distance between MapXY coordinates p1 and p2

Definition at line 100 of file euclidean_distance.h.

float Euclidean::DistanceToTime ( float  distance,
float  speed 
) [inline]

return how many seconds it takes to move a distance at a given speed.

Definition at line 109 of file euclidean_distance.h.

float Euclidean::DistanceToWaypt ( const MapPose pose,
const WayPointNode waypt 
) [inline]

find the Euclidean distance between pose and way-point

Definition at line 119 of file euclidean_distance.h.

float Euclidean::DistanceToWaypt ( MapXY  point,
const WayPointNode waypt 
) [inline]

find the Euclidean distance between MapXY point and way-point

Definition at line 126 of file euclidean_distance.h.

float Euclidean::DistanceToWaypt ( Polar  polar,
const MapPose origin,
const WayPointNode waypt 
) [inline]

find the Euclidean distance between Polar coordinate (relative to origin) and way-point

Definition at line 133 of file euclidean_distance.h.

bool Euclidean::point_in_line_segment ( MapXY  point,
MapXY  lp1,
MapXY  lp2 
) [inline]

return true if point is in the line segment between lp1 and lp2

Definition at line 142 of file euclidean_distance.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


art_map
Author(s): David Li, Patrick Beeson, Bartley Gillen, Tarun Nimmagadda, Mickey Ristroph, Michael Quinlan, Jack O'Quin
autogenerated on Tue Sep 24 2013 10:41:51