示例#1
0
        public static Point4d operator -(Point4d p1, Point4d p2)
        {
            Point4d result = new Point4d();

            p1.CopyTo(result);
            result.Subtract(p2);
            return(result);
        }
示例#2
0
 /// <summary>
 /// Subtracts a point from this point and stores in result
 /// </summary>
 /// <param name="point3d"></param>
 /// <param name="result"></param>
 public void Subtract(Point4d point4d, Point4d result)
 {
     this.CopyTo(result);
     result.Subtract(point4d);
 }