|
static double | euclideanDistance (double _x1, double _y1, double _x2, double _y2) |
| Calculates the Euclidean distance betwenn the two given points.
|
|
static double | euclideanDistance (const Point2DD &_p1, const Point2DD &_p2) |
|
static double | calculateShortestDistanceFromPointToLine (double _px, double _py, double _x1, double _y1, double _x2, double _y2) |
| Calculates the shortest distance from the given point to the given line.
|
|
static double | calculateShortestDistanceFromPointToLine (const Point2DD &_pt, const Point2DD &_lineStart, const Point2DD &_lineEnd) |
|
static Point2DD | calculatePointOnBezierCurve (double _t, double _startX, double _startY, double _control1X, double _control1Y, double _control2X, double _control2Y, double _endX, double _endY) |
| Calculates the point on the Bezier curve for a given t value.
|
|
static Point2DD | calculatePointOnBezierCurve (double _t, const Point2DD &_start, const Point2DD &_control1, const Point2DD &_control2, const Point2DD &_end) |
|
static double | calculateShortestDistanceFromPointToBezierCurve (double _px, double _py, double _startX, double _startY, double _control1X, double _control1Y, double _control2X, double _control2Y, double _endX, double _endY) |
| Calculates the minimum distance from a point to a cubic Bezier curve.
|
|
static double | calculateShortestDistanceFromPointToBezierCurve (const Point2DD &_pt, const Point2DD &_start, const Point2DD &_control1, const Point2DD &_control2, const Point2DD &_end) |
|