Esempio n. 1
0
 public readonly CoordF ToFloat()
 {
     return(CoordF.From(X, Y, Z));
 }
Esempio n. 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());
        }
Esempio n. 4
0
 public readonly CoordF Add(CoordF other)
 {
     return(From(X + other.X, Y + other.Y, Z + other.Z));
 }
Esempio n. 5
0
 public readonly CoordF ToFloat() => CoordF.From(X, Y, Z);
Esempio n. 6
0
 public bool Equals(CoordF other) => X == other.X && Y == other.Y && Z == other.Z;
Esempio n. 7
0
 public static float Distance(CoordF left, CoordF right) => (left - right).Length();