Interface Coord2Conversion
-
- All Known Implementing Classes:
ImmutableCoordD2
,ImmutableCoordI2
,MutableCoordD2
,MutableCoordI2
public interface Coord2Conversion
Helper to convert between mutable and immutable representations of tuples (coordinates and vectors)
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default CoordD2
toImmutableCoordD2()
default CoordI2
toImmutableCoordI2()
default CoordD2
toMutableCoordD2()
default CoordI2
toMutableCoordI2()
default CoordD2
toVNorm()
Converts a vector to a unit normal vector
-
-
-
Method Detail
-
toMutableCoordI2
default CoordI2 toMutableCoordI2()
-
toImmutableCoordI2
default CoordI2 toImmutableCoordI2()
-
toMutableCoordD2
default CoordD2 toMutableCoordD2()
-
toImmutableCoordD2
default CoordD2 toImmutableCoordD2()
-
toVNorm
default CoordD2 toVNorm()
Converts a vector to a unit normal vector
-
-