public PointI Add(PointI other) { return(new PointI(X + other.X, Y + other.Y, Z + other.Z)); }
public int GetDistance(PointI other) { return(Math.Max(Math.Max(Math.Abs(X - other.X), Math.Abs(Y - other.Y)), Math.Abs(Z - other.Z))); }
public static PointF AsPointF(this PointI point) { return(new PointF(point.X, point.Y, point.Z)); }
public static Vector3 AsVector(this PointI point) { return(new Vector3(point.X, point.Y, point.Z)); }
public static PointB AsPointB(this PointI point) { return(new PointB((byte)point.X, (byte)point.Y, (byte)point.Z)); }