CARLA
Loading...
Searching...
No Matches
OffsetTransform Class Reference

#include <GeoProjectionsParams.h>

Public Member Functions

Location ApplyInverseTransformation (const Location &location) const
 Inverse of ApplyTransformation: recovers the pre-offset location so that ApplyTransformation(ApplyInverseTransformation(l)) == l.
Location ApplyTransformation (const Location &location) const
 OffsetTransform ()=default
 OffsetTransform (double offset_x, double offset_y, double offset_z, double offset_hdg)
bool operator!= (const OffsetTransform &rhs) const
bool operator== (const OffsetTransform &rhs) const

Public Attributes

double offset_cos_h = 1.0
double offset_sin_h = 0.0
double offset_x = 0.0
double offset_y = 0.0
double offset_z = 0.0

Detailed Description

Definition at line 73 of file GeoProjectionsParams.h.

Constructor & Destructor Documentation

◆ OffsetTransform() [1/2]

◆ OffsetTransform() [2/2]

carla::geom::OffsetTransform::OffsetTransform ( double offset_x,
double offset_y,
double offset_z,
double offset_hdg )
inline

Definition at line 78 of file GeoProjectionsParams.h.

Member Function Documentation

◆ ApplyInverseTransformation()

Inverse of ApplyTransformation: recovers the pre-offset location so that ApplyTransformation(ApplyInverseTransformation(l)) == l.

Definition at line 100 of file GeoProjectionsParams.h.

◆ ApplyTransformation()

Definition at line 87 of file GeoProjectionsParams.h.

◆ operator!=()

bool carla::geom::OffsetTransform::operator!= ( const OffsetTransform & rhs) const
inline

Definition at line 115 of file GeoProjectionsParams.h.

◆ operator==()

bool carla::geom::OffsetTransform::operator== ( const OffsetTransform & rhs) const
inline

Definition at line 111 of file GeoProjectionsParams.h.

Member Data Documentation

◆ offset_cos_h

Definition at line 84 of file GeoProjectionsParams.h.

◆ offset_sin_h

Definition at line 85 of file GeoProjectionsParams.h.

◆ offset_x

Definition at line 81 of file GeoProjectionsParams.h.

◆ offset_y

Definition at line 82 of file GeoProjectionsParams.h.

◆ offset_z

Definition at line 83 of file GeoProjectionsParams.h.


The documentation for this class was generated from the following file: