Package com.io7m.jcoords.core.conversion
Class CAxisSystemConversions
java.lang.Object
com.io7m.jcoords.core.conversion.CAxisSystemConversions
Functions to produce matrices to convert between coordinate spaces.
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.io7m.jtensors.core.unparameterized.matrices.Matrix3x3DcreateMatrix3x3D(CAxisSystemType source, CAxisSystemType target) Construct a 3x3 matrix to convert coordinates in systemsourceto systemtarget.static com.io7m.jtensors.core.unparameterized.matrices.Matrix4x4DcreateMatrix4x4D(CAxisSystemType source, CAxisSystemType target) Construct a 4x4 matrix to convert coordinates in systemsourceto systemtarget.
-
Method Details
-
createMatrix3x3D
public static com.io7m.jtensors.core.unparameterized.matrices.Matrix3x3D createMatrix3x3D(CAxisSystemType source, CAxisSystemType target) Construct a 3x3 matrix to convert coordinates in systemsourceto systemtarget.- Parameters:
source- The source coordinate systemtarget- The target coordinate system- Returns:
- A new matrix
-
createMatrix4x4D
public static com.io7m.jtensors.core.unparameterized.matrices.Matrix4x4D createMatrix4x4D(CAxisSystemType source, CAxisSystemType target) Construct a 4x4 matrix to convert coordinates in systemsourceto systemtarget.- Parameters:
source- The source coordinate systemtarget- The target coordinate system- Returns:
- A new matrix
-