Functions | |
| void | DistanceFromLine (const MapXY &c, const MapXY &a, const MapXY &b, float &distanceSegment, float &distanceLine) |
| void | DistanceFromLine (float cx, float cy, float ax, float ay, float bx, float by, float &distanceSegment, float &distanceLine) |
| float | DistanceTo (MapXY p1, MapXY p2) |
| float | DistanceTo (float p1x, float p1y, float p2x, float p2y) |
| float | DistanceTo (MapPose p1, MapPose p2) |
| float | DistanceToTime (float distance, float speed) |
| float | DistanceToWaypt (Polar polar, const MapPose &origin, const WayPointNode &waypt) |
| float | DistanceToWaypt (MapXY point, const WayPointNode &waypt) |
| float | DistanceToWaypt (const MapPose &pose, const WayPointNode &waypt) |
| bool | point_in_line_segment (MapXY point, MapXY lp1, MapXY lp2) |
| void Euclidean::DistanceFromLine | ( | const MapXY & | c, | |
| const MapXY & | a, | |||
| const MapXY & | b, | |||
| float & | distanceSegment, | |||
| float & | distanceLine | |||
| ) | [inline] |
Definition at line 84 of file euclidean_distance.h.
| 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 28 of file euclidean_distance.h.
find the Euclidean distance between MapXY coordinates p1 and p2
Definition at line 111 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 103 of file euclidean_distance.h.
find the Euclidean distance between poses p1 and p2
Definition at line 95 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 120 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 144 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 137 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 130 of file euclidean_distance.h.
return true if point is in the line segment between lp1 and lp2
Definition at line 153 of file euclidean_distance.h.