Class ConvertCoordinates3D_F32

java.lang.Object
georegression.geometry.ConvertCoordinates3D_F32

@Generated("georegression.geometry.ConvertCoordinates3D_F64") public class ConvertCoordinates3D_F32 extends Object
Contains code for converting between different 3D coordinate systems
  • Constructor Details

    • ConvertCoordinates3D_F32

      public ConvertCoordinates3D_F32()
  • Method Details

    • latlonToUnitVector

      public static <T extends GeoTuple3D_F32<T>> T latlonToUnitVector(float lat, float lon, @Nullable T vector)
      Converts latitude and longitude coordinates into a unit vector
      Parameters:
      lat - Radian value from pi to -pi
      lon - Radian value from -pi/2 to pi/2
      vector - (output) Storage for unit vector. If null is passed in a new instance will be created.
      Returns:
      Unit vector