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)) }; }
public bool Equals(Point3D other) { return X.Equals(other.X) && Y.Equals(other.Y) && Z.Equals(other.Z); }