Template Function navtk::navutils::north_to_delta_lat(const B1&, const B2&, const B3&)

Function Documentation

template<typename B1 = Vector, typename B2 = Vector, typename B3 = Vector, IfTensorsMaxDim<1, B1, B2, B3>* = nullptr>
Vector navtk::navutils::north_to_delta_lat(const B1 &north_distance, const B2 &approx_lat, const B3 &altitude)

This is a batched version of north_to_delta_lat.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Template Parameters
  • B1 – Type of north_distance.

  • B2 – Type of approx_lat.

  • B3 – Type of altitude.

  • std::enable_if_t<> – Constrains B1, B2, and B3 to have a maximum dimension or precisely 1.

Parameters
  • north_distance – Small distance in meters to convert to latitude (meters, north is positive), shape (N). Can accept initializer lists or a double as well.

  • approx_lat – Approximate latitudes (radians), shape (N). Can accept initializer lists or a double as well.

  • altitude – WGS-84 altitudes (ellipsoidal) (meters), shape (N). Can accept initializer lists or a double as well. 0.0 by default.

Returns

Equivalent distances in the north direction (meters), shape (N).