CARLA
 
载入中...
搜索中...
未找到
Public 成员函数 | 友元 | 所有成员列表
carla::geom::Location类 参考

#include <Location.h>

+ 类 carla::geom::Location 继承关系图:
+ carla::geom::Location 的协作图:

Public 成员函数

auto Distance (const Location &loc) const
 
auto DistanceSquared (const Location &loc) const
 
 Location ()=default
 
 Location (const FVector &vector)
 
 Location (const Vector3D &rhs)
 
 Location (const Vector3DInt &rhs)
 
 operator FVector () const
 
bool operator!= (const Location &rhs) const
 
Locationoperator+= (const Location &rhs)
 
Locationoperator-= (const Location &rhs)
 
bool operator== (const Location &rhs) const
 
 Vector3D ()=default
 
 Vector3D (const FVector &v)=delete
 
 Vector3D (float ix, float iy, float iz)
 
- Public 成员函数 继承自 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
 
Vector3Doperator*= (float rhs)
 
Vector3Doperator+= (const Vector3D &rhs)
 
Vector3Doperator-= (const float f)
 
Vector3Doperator-= (const Vector3D &rhs)
 
Vector3Doperator/= (float rhs)
 
Vector3Doperator= (const FVector &rhs)=delete
 
bool operator== (const Vector3D &rhs) const
 
float SquaredLength () const
 
float SquaredLength2D () const
 
Vector3D ToCentimeters () const
 
FVector ToFVector () const
 
Vector3D ToMeters () const
 
 Vector3D ()=default
 
 Vector3D (const FVector &v)=delete
 
 Vector3D (float ix, float iy, float iz)
 

友元

Location operator+ (Location lhs, const Location &rhs)
 
Location operator- (Location lhs, const Location &rhs)
 

额外继承的成员函数

- Public 属性 继承自 carla::geom::Vector3D
float x = 0.0f
 
float y = 0.0f
 
float z = 0.0f
 

详细描述

在文件 geom/Location.h28 行定义.

构造及析构函数说明

◆ Location() [1/4]

carla::geom::Location::Location ( )
default

◆ Location() [2/4]

carla::geom::Location::Location ( const Vector3D & rhs)
inline

在文件 geom/Location.h40 行定义.

◆ Location() [3/4]

carla::geom::Location::Location ( const Vector3DInt & rhs)
inline

在文件 geom/Location.h43 行定义.

◆ Location() [4/4]

carla::geom::Location::Location ( const FVector & vector)
inline

在文件 geom/Location.h104 行定义.

成员函数说明

◆ Distance()

auto carla::geom::Location::Distance ( const Location & loc) const
inline

在文件 geom/Location.h56 行定义.

引用了 carla::geom::Math::Distance().

被这些函数引用 carla::traffic_manager::SimpleWaypoint::Distance(), carla::traffic_manager::SimpleWaypoint::Distance() , 以及 carla::traffic_manager::MotionPlanStage::Update().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ DistanceSquared()

auto carla::geom::Location::DistanceSquared ( const Location & loc) const
inline

在文件 geom/Location.h52 行定义.

引用了 carla::geom::Math::DistanceSquared().

被这些函数引用 carla::nav::WalkerManager::GetTrafficLightAffecting().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ operator FVector()

carla::geom::Location::operator FVector ( ) const
inline

◆ operator!=()

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

在文件 geom/Location.h94 行定义.

◆ operator+=()

Location & carla::geom::Location::operator+= ( const Location & rhs)
inline

在文件 geom/Location.h64 行定义.

◆ operator-=()

Location & carla::geom::Location::operator-= ( const Location & rhs)
inline

在文件 geom/Location.h74 行定义.

◆ operator==()

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

在文件 geom/Location.h89 行定义.

◆ Vector3D() [1/3]

carla::geom::Vector3D::Vector3D ( )
default

◆ Vector3D() [2/3]

carla::geom::Vector3D::Vector3D ( const FVector & v)
delete

◆ Vector3D() [3/3]

carla::geom::Vector3D::Vector3D ( float ix,
float iy,
float iz )
inline

在文件 geom/Vector3D.h38 行定义.

友元及相关函数文档

◆ operator+

Location operator+ ( Location lhs,
const Location & rhs )
friend

在文件 geom/Location.h69 行定义.

◆ operator-

Location operator- ( Location lhs,
const Location & rhs )
friend

在文件 geom/Location.h79 行定义.


该类的文档由以下文件生成: