Example #1
0
 public static Position CreatePosition(Point3D imagePosition, Point3D worldPosition) {
     return new Position {
         Image = new Point3D(imagePosition.X, imagePosition.Y),
         World = new Point3D(ToRoundedCentimeters(worldPosition.X),
             ToRoundedCentimeters(worldPosition.Y),
             ToRoundedCentimeters(worldPosition.Z))
     };
 }
Example #2
0
 public bool Equals(Point3D other) {
     return X.Equals(other.X) && Y.Equals(other.Y) && Z.Equals(other.Z);
 }