#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) |
Definition at line 26 of file Geometry.h.
|
inline |
Definition at line 28 of file Geometry.h.
|
inline |
Definition at line 31 of file Geometry.h.
|
inline |
Definition at line 34 of file Geometry.h.
void carla::road::element::DirectedPoint::ApplyLateralOffset | ( | float | lateral_offset | ) |
Definition at line 28 of file Geometry.cpp.
References location, tangent, carla::geom::Vector3D::x, and carla::geom::Vector3D::y.
Referenced by carla::road::MapBuilder::ComputeSignalTransform(), carla::road::Lane::ComputeTransform(), carla::geom::MeshFactory::GenerateLaneMarksForCenterLine(), carla::road::Lane::GetCornerPositions(), carla::road::Road::GetDirectedPointIn(), and carla::road::Road::GetNearestLane().
|
friend |
Definition at line 44 of file Geometry.h.
geom::Location carla::road::element::DirectedPoint::location = {0.0f, 0.0f, 0.0f} |
Definition at line 38 of file Geometry.h.
Referenced by ApplyLateralOffset(), carla::road::MapBuilder::ComputeSignalTransform(), carla::road::Lane::ComputeTransform(), carla::geom::MeshFactory::GenerateLaneMarksForCenterLine(), carla::road::Lane::GetCornerPositions(), carla::road::Road::GetDirectedPointIn(), carla::road::Road::GetNearestLane(), carla::road::element::GeometryLine::PosFromDist(), carla::road::element::GeometrySpiral::PosFromDist(), carla::road::element::GeometryPoly3::PosFromDist(), and carla::road::element::GeometryParamPoly3::PosFromDist().
double carla::road::element::DirectedPoint::pitch = 0.0 |
Definition at line 40 of file Geometry.h.
Referenced by carla::road::Lane::ComputeTransform(), and carla::road::Road::GetDirectedPointIn().
double carla::road::element::DirectedPoint::tangent = 0.0 |
Definition at line 39 of file Geometry.h.
Referenced by ApplyLateralOffset(), carla::road::MapBuilder::ComputeSignalTransform(), carla::road::Lane::ComputeTransform(), carla::road::element::GeometryLine::PosFromDist(), carla::road::element::GeometrySpiral::PosFromDist(), carla::road::element::GeometryPoly3::PosFromDist(), and carla::road::element::GeometryParamPoly3::PosFromDist().