Пример #1
0
        public static BCOM.Point3d getMiddlePoint(BCOM.Point3d first, BCOM.Point3d second)
        {
            BCOM.Vector3d vec =
                App.Vector3dSubtractPoint3dPoint3d(second, first);

            return(App.Point3dAddScaledVector3d(first, vec, 0.5));
        }
Пример #2
0
 public static bool IsParallelTo(this BCOM.Vector3d self, BCOM.Vector3d other)
 {
     return(App.Vector3dAreVectorsParallel(self, other));
 }
Пример #3
0
 public static BCOM.Point3d ToPoint3d(this BCOM.Vector3d vec)
 {
     return(App.Point3dFromVector3d(vec));
 }
Пример #4
0
 public static BCOM.Vector3d Normalize(this BCOM.Vector3d vec)
 {
     return(App.Vector3dNormalize(vec));
 }