Here is a list of available math routines:
|
Min(Value1, Value2)
|
Return the MIN of 2 numbers
|
|
Max(Value1, Value2)
|
Return the MAX of 2 numbers
|
|
DistanceBetweenPoints(X, Y, X2, Y2)
|
Returns the distance between points
|
|
DistanceBetweenPointsScaled(X, Y, X2, Y2)
|
Returns the distance between points
|
|
AngleBetweenPointsUnScaled(X, Y, X2, Y2)
|
Returns the angle between points
|
|
ParallelLine(X, Y, X2, Y2, DIST, NX, NY, NX2, NY2)
|
Returns a parallel line
|
|
ExtendLine(X, Y, X2, Y2, PX, PY)
|
Returns the distance a point (PX, PY) is from a line (X, Y, X2, Y2)
|
|
PointOnAngle(X, Y, Angle, Distance, RX, RY)
|
Calculates a point from an existing point on an angle.
|
|
GetIntersectPoint(P1X,P1Y,P2X,P2Y,P3X,P3Y,P4X,P4Y,RX,RY)
|
Calculates the intersect point of 2 lines. Returns 1 if the lines intersect, and 0 if they do not intersect.
|