Beispiel #1
0
 public readonly CoordF ToFloat()
 {
     return(CoordF.From(X, Y, Z));
 }
Beispiel #2
0
 public bool Equals(CoordF other)
 {
     return(X == other.X && Y == other.Y && Z == other.Z);
 }
        public static float Distance(CoordF left, CoordF right)
        {
            CoordF displacement = left - right;

            return(displacement.Length());
        }
Beispiel #4
0
 public readonly CoordF Add(CoordF other)
 {
     return(From(X + other.X, Y + other.Y, Z + other.Z));
 }
Beispiel #5
0
 public readonly CoordF ToFloat() => CoordF.From(X, Y, Z);
Beispiel #6
0
 public bool Equals(CoordF other) => X == other.X && Y == other.Y && Z == other.Z;
Beispiel #7
0
 public static float Distance(CoordF left, CoordF right) => (left - right).Length();