public static bool IsOnLine(this Line3D l, Point3D p) { var closest = l.ClosestPointTo(p, true); var ret = (closest.Equals(p, SpeckleStructuralClasses.Helper.PointComparisonEpsilon)); return(ret); }
public static bool IsOnLine(this Line3D l, Point3D p) { var closest = l.ClosestPointTo(p, true); var ret = (closest.Equals(p, 0.001)); return(ret); }