#include <Location.h>
Public Member Functions | |
auto | Distance (const Location &loc) const |
auto | DistanceSquared (const Location &loc) const |
Location ()=default | |
Location (const Vector3D &rhs) | |
Location (const Vector3DInt &rhs) | |
bool | operator!= (const Location &rhs) const |
Location & | operator+= (const Location &rhs) |
Location & | operator-= (const Location &rhs) |
bool | operator== (const Location &rhs) const |
Public Member Functions inherited from carla::geom::Vector3D | |
Vector3D | Abs () const |
float | Length () const |
float | Length2D () const |
Vector3D | MakeSafeUnitVector (const float epsilon) const |
Vector3D | MakeUnitVector () const |
template<typename MSGPACK_OBJECT > | |
void | msgpack_object (MSGPACK_OBJECT *o, clmdep_msgpack::zone &sneaky_variable_that_shadows_z) const |
template<typename Packer > | |
void | msgpack_pack (Packer &pk) const |
void | msgpack_unpack (clmdep_msgpack::object const &o) |
bool | operator!= (const Vector3D &rhs) const |
Vector3D & | operator*= (float rhs) |
Vector3D & | operator+= (const Vector3D &rhs) |
Vector3D & | operator-= (const Vector3D &rhs) |
Vector3D & | operator-= (const float f) |
Vector3D & | operator/= (float rhs) |
bool | operator== (const Vector3D &rhs) const |
float | SquaredLength () const |
float | SquaredLength2D () const |
Vector3D ()=default | |
Vector3D (float ix, float iy, float iz) | |
Friends | |
Location | operator+ (Location lhs, const Location &rhs) |
Location | operator- (Location lhs, const Location &rhs) |
Additional Inherited Members | |
Public Attributes inherited from carla::geom::Vector3D | |
float | x = 0.0f |
float | y = 0.0f |
float | z = 0.0f |
Definition at line 22 of file geom/Location.h.
|
default |
|
inline |
Definition at line 33 of file geom/Location.h.
|
inline |
Definition at line 35 of file geom/Location.h.
|
inline |
Definition at line 48 of file geom/Location.h.
References carla::geom::Math::Distance().
Referenced by carla::traffic_manager::SimpleWaypoint::Distance(), and carla::traffic_manager::MotionPlanStage::Update().
|
inline |
Definition at line 44 of file geom/Location.h.
References carla::geom::Math::DistanceSquared().
Referenced by carla::nav::WalkerManager::GetTrafficLightAffecting().
|
inline |
Definition at line 84 of file geom/Location.h.
References Location(), carla::geom::Vector3D::x, carla::geom::Vector3D::y, and carla::geom::Vector3D::z.
Definition at line 56 of file geom/Location.h.
Definition at line 66 of file geom/Location.h.
|
inline |
Definition at line 80 of file geom/Location.h.
Definition at line 61 of file geom/Location.h.
Definition at line 71 of file geom/Location.h.