Exemple #1
0
        public static Point4d operator +(Point4d p1, Point4d p2)
        {
            Point4d result = new Point4d();

            p1.CopyTo(result);
            result.Add(p2);
            return(result);
        }
Exemple #2
0
 /// <summary>
 /// Adds a point to this point and stores in result
 /// </summary>
 /// <param name="point3d"></param>
 /// <param name="result"></param>
 public void Add(Point4d point4d, Point4d result)
 {
     this.CopyTo(result);
     result.Add(point4d);
 }