CARLA
Loading...
Searching...
No Matches
carla::road::element::DirectedPoint Struct Reference

#include <Geometry.h>

Public Member Functions

void ApplyLateralOffset (float lateral_offset)
 DirectedPoint ()
 DirectedPoint (const geom::Location &l, double t)
 DirectedPoint (float x, float y, float z, double t)

Public Attributes

geom::Location location = {0.0f, 0.0f, 0.0f}
double pitch = 0.0
double tangent = 0.0

Friends

bool operator== (const DirectedPoint &lhs, const DirectedPoint &rhs)

Detailed Description

Definition at line 26 of file carla/road/element/Geometry.h.

Constructor & Destructor Documentation

◆ DirectedPoint() [1/3]

carla::road::element::DirectedPoint::DirectedPoint ( )
inline

Definition at line 28 of file carla/road/element/Geometry.h.

References location, and tangent.

Referenced by operator==.

◆ DirectedPoint() [2/3]

carla::road::element::DirectedPoint::DirectedPoint ( const geom::Location & l,
double t )
inline

Definition at line 31 of file carla/road/element/Geometry.h.

References location, and tangent.

◆ DirectedPoint() [3/3]

carla::road::element::DirectedPoint::DirectedPoint ( float x,
float y,
float z,
double t )
inline

Definition at line 34 of file carla/road/element/Geometry.h.

References location, and tangent.

Member Function Documentation

◆ ApplyLateralOffset()

◆ operator==

bool operator== ( const DirectedPoint & lhs,
const DirectedPoint & rhs )
friend

Definition at line 44 of file carla/road/element/Geometry.h.

References DirectedPoint(), location, and tangent.

Member Data Documentation

◆ location

◆ pitch

double carla::road::element::DirectedPoint::pitch = 0.0

◆ tangent


The documentation for this struct was generated from the following files: