Class ConvertCoordinates3D_F64

java.lang.Object
georegression.geometry.ConvertCoordinates3D_F64

public class ConvertCoordinates3D_F64 extends Object
Contains code for converting between different 3D coordinate systems
  • Constructor Details

    • ConvertCoordinates3D_F64

      public ConvertCoordinates3D_F64()
  • Method Details

    • latlonToUnitVector

      public static <T extends GeoTuple3D_F64<T>> T latlonToUnitVector(double lat, double 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