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

This is a batched version of east_to_delta_lon.

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

  • 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
  • east_distance – Small distances to convert to radians of longitude (meters, east 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 east direction (meters), shape (N).