00001 00038 #ifndef POINT_UTILS_JIEAIBJ2 00039 #define POINT_UTILS_JIEAIBJ2 00040 00041 #include <bwi_mapper/structures/point.h> 00042 00043 namespace bwi_mapper { 00044 00045 /* minimum distance for point p from line segment defined by v and w */ 00046 float minimumDistanceToLineSegment(Point2f v, Point2f w, Point2f p); 00047 00048 float getMagnitude(Point2f v); 00049 00050 } /* bwi_mapper */ 00051 00052 #endif /* end of include guard: POINT_UTILS_JIEAIBJ2 */