Beispiel #1
0
 /// <summary>
 /// Sets new value from the given point.
 /// </summary>
 /// <param name="p"></param>
 public void Set(Point3D p)
 {
     X = p.X;
     Y = p.Y;
     Z = p.Z;
 }
Beispiel #2
0
 /// <summary>
 /// Creates a new vector from the given point.
 /// </summary>
 /// <param name="p">The point to construct a position vector from.</param>
 public Vector3D(Point3D p)
 {
     X = p.X;
     Y = p.Y;
     Z = p.Z;
 }