public static void DistanceCallculation(ThreeDCordinate point1, ThreeDCordinate point2)
 {
     double deltax   = point2.x - point1.x;
     double deltay   = point2.y - point1.y;
     double deltaz   = point2.z - point1.z;
     double distance = (double)Math.Sqrt((deltax * deltax) + (deltay * deltay) + (deltaz * deltaz));
 }
 public static void DistanceCallculation(ThreeDCordinate point1, ThreeDCordinate point2)
 {
     double deltax = point2.x - point1.x;
       double deltay = point2.y - point1.y;
       double deltaz = point2.z - point1.z;
       double distance = (double)Math.Sqrt((deltax * deltax) + (deltay * deltay) + (deltaz * deltaz));
 }
Пример #3
0
 public void AddPoint(ThreeDCordinate point)
 {
     this.pointPath.Add(point);
 }
Пример #4
0
 public void AddPoint(ThreeDCordinate point)
 {
     this.pointPath.Add(point);
 }