Beispiel #1
0
        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);
        }
Beispiel #2
0
 static public Vector3 GetCenter(this LineSegment3 item)
 {
     return(item.GetPoints().Average());
 }