static public bool IsCoplanar(this Plane item, LineSegment3 line_segment, float tolerance = 0.0f) { if (item.AreCoplanar(line_segment.GetPoints(), tolerance)) { return(true); } return(false); }
static public Vector3 GetCenter(this LineSegment3 item) { return(item.GetPoints().Average()); }