- Declared in: RT.Util.Geometry.GeomUt
Declaration
public static bool ArePointsSameSideOfLine(
double lX,
double lY,
double pt1X,
double pt1Y,
double pt2X,
double pt2Y
)
Summary
Given a vector l, and two points pt1 and pt2, splits the space into two halves on the line defined by the
vector l. If both points lie in the same half, returns true. If they lie in different halves, or if at least
one point lies on the dividing line, returns false. If the vector l is of length 0, always returns false.