Class Wgs84ToUtmTransform

Inheritance Relationships

Base Types

Class Documentation

class Wgs84ToUtmTransform : public swri_transform_util::TransformImpl, public swri_transform_util::Tf2StampStampInterface

Class to implement transformation from WGS84 to UTM

This class should not be used directly. It is used internally by swri_transform_util::Transform

Public Functions

explicit Wgs84ToUtmTransform(std::shared_ptr<UtmUtil> utm_util, int32_t utm_zone, char utm_band)
virtual void Transform(const tf2::Vector3 &v_in, tf2::Vector3 &v_out) const

Apply this transform to a 3D vector

Parameters:
  • v_in[in] Input vector

  • v_out[out] Transformed vector

virtual TransformImplPtr Inverse() const

Protected Attributes

std::shared_ptr<UtmUtil> utm_util_
int32_t utm_zone_
char utm_band_