Class CAxisSystemConversions

java.lang.Object
com.io7m.jcoords.core.conversion.CAxisSystemConversions

public final class CAxisSystemConversions extends Object
Functions to produce matrices to convert between coordinate spaces.
  • 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 system source to system target.
      Parameters:
      source - The source coordinate system
      target - 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 system source to system target.
      Parameters:
      source - The source coordinate system
      target - The target coordinate system
      Returns:
      A new matrix