예제 #1
0
 public PointL Add(PointL other)
 {
     return(new PointL(X + other.X, Y + other.Y, Z + other.Z));
 }
예제 #2
0
 public static PointF AsPointF(this PointL point)
 {
     return(new PointF(point.X, point.Y, point.Z));
 }
예제 #3
0
 public long GetDistance(PointL other)
 {
     return(Math.Max(Math.Max(Math.Abs(X - other.X), Math.Abs(Y - other.Y)), Math.Abs(Z - other.Z)));
 }
예제 #4
0
 public static Vector3 AsVector(this PointL point)
 {
     return(new Vector3(point.X, point.Y, point.Z));
 }