static public bool IsOutside(this Plane2 item, Vector2 point, float tolerance = 0.0f) { if (item.GetSignedDistanceToPoint(point) > tolerance) { return(true); } return(false); }
static public float GetAbsoluteDistanceToPoint(this Plane2 item, Vector2 point) { return(item.GetSignedDistanceToPoint(point).GetAbs()); }
static public Vector2 ProjectPoint(this Plane2 item, Vector2 point) { return(point - item.normal * item.GetSignedDistanceToPoint(point)); }