Template Function navtk::navutils::delta_lat_to_north(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::delta_lat_to_north(const B1 &delta_lat, const B2 &approx_lat, const B3 &altitude)

This is a batched version of delta_lat_to_north.

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 delta_lat.

  • B2 – Type of approx_lat.

  • B3 – Type of altitude.

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

Parameters
  • delta_lat – Small distances in latitude to convert (radians), 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).