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

#include <Vector3DInt.h>

+ carla::geom::Vector3DInt 的协作图:

Public 成员函数

double Length () 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 Vector3DInt &rhs) const
 
Vector3DIntoperator*= (int32_t rhs)
 
Vector3DIntoperator+= (const Vector3DInt &rhs)
 
Vector3DIntoperator-= (const Vector3DInt &rhs)
 
Vector3DIntoperator/= (int32_t rhs)
 
Vector3DIntoperator= (const FIntVector &rhs)=delete
 
bool operator== (const Vector3DInt &rhs) const
 
int64_t SquaredLength () const
 
Vector3DInt ToCentimeters () const
 Return a Vector3DInt converted from meters to centimeters.
 
FIntVector ToFIntVector () const
 
Vector3DInt ToMeters () const
 Return a Vector3DInt converted from centimeters to meters.
 
 Vector3DInt ()=default
 
 Vector3DInt (const FIntVector &v)=delete
 
 Vector3DInt (int32_t ix, int32_t iy, int32_t iz)
 

Public 属性

int32_t x = 0
 
int32_t y = 0
 
int32_t z = 0
 

友元

Vector3DInt operator* (int32_t lhs, Vector3DInt rhs)
 
Vector3DInt operator* (Vector3DInt lhs, int32_t rhs)
 
Vector3DInt operator+ (Vector3DInt lhs, const Vector3DInt &rhs)
 
Vector3DInt operator- (Vector3DInt lhs, const Vector3DInt &rhs)
 
Vector3DInt operator/ (int32_t lhs, Vector3DInt rhs)
 
Vector3DInt operator/ (Vector3DInt lhs, int32_t rhs)
 

详细描述

在文件 Vector3DInt.h17 行定义.

构造及析构函数说明

◆ Vector3DInt() [1/3]

carla::geom::Vector3DInt::Vector3DInt ( )
default

◆ Vector3DInt() [2/3]

carla::geom::Vector3DInt::Vector3DInt ( int32_t ix,
int32_t iy,
int32_t iz )
inline

在文件 Vector3DInt.h36 行定义.

◆ Vector3DInt() [3/3]

carla::geom::Vector3DInt::Vector3DInt ( const FIntVector & v)
delete

成员函数说明

◆ Length()

double carla::geom::Vector3DInt::Length ( ) const
inline

在文件 Vector3DInt.h49 行定义.

引用了 SquaredLength().

+ 函数调用图:

◆ msgpack_object()

template<typename MSGPACK_OBJECT >
void carla::geom::Vector3DInt::msgpack_object ( MSGPACK_OBJECT * o,
clmdep_msgpack::zone & sneaky_variable_that_shadows_z ) const
inline

在文件 Vector3DInt.h168 行定义.

引用了 x, y , 以及 z.

◆ msgpack_pack()

template<typename Packer >
void carla::geom::Vector3DInt::msgpack_pack ( Packer & pk) const
inline
待办事项
The following is copy-pasted from MSGPACK_DEFINE_ARRAY. This is a workaround for an issue in msgpack library. The MSGPACK_DEFINE_ARRAY macro is shadowing our z variable. https://github.com/msgpack/msgpack-c/issues/709

在文件 Vector3DInt.h159 行定义.

引用了 x, y , 以及 z.

◆ msgpack_unpack()

void carla::geom::Vector3DInt::msgpack_unpack ( clmdep_msgpack::object const & o)
inline

在文件 Vector3DInt.h163 行定义.

引用了 x, y , 以及 z.

◆ operator!=()

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

在文件 Vector3DInt.h123 行定义.

◆ operator*=()

Vector3DInt & carla::geom::Vector3DInt::operator*= ( int32_t rhs)
inline

在文件 Vector3DInt.h81 行定义.

引用了 x, y , 以及 z.

◆ operator+=()

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

在文件 Vector3DInt.h57 行定义.

引用了 x, y , 以及 z.

◆ operator-=()

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

在文件 Vector3DInt.h69 行定义.

引用了 x, y , 以及 z.

◆ operator/=()

Vector3DInt & carla::geom::Vector3DInt::operator/= ( int32_t rhs)
inline

在文件 Vector3DInt.h98 行定义.

引用了 x, y , 以及 z.

◆ operator=()

Vector3DInt & carla::geom::Vector3DInt::operator= ( const FIntVector & rhs)
delete

◆ operator==()

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

在文件 Vector3DInt.h119 行定义.

引用了 x, y , 以及 z.

◆ SquaredLength()

int64_t carla::geom::Vector3DInt::SquaredLength ( ) const
inline

在文件 Vector3DInt.h45 行定义.

引用了 x, y , 以及 z.

被这些函数引用 Length().

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

◆ ToCentimeters()

Vector3DInt carla::geom::Vector3DInt::ToCentimeters ( ) const
inline

Return a Vector3DInt converted from meters to centimeters.

在文件 Vector3DInt.h142 行定义.

◆ ToFIntVector()

FIntVector carla::geom::Vector3DInt::ToFIntVector ( ) const
inline

在文件 Vector3DInt.h146 行定义.

引用了 x, y , 以及 z.

◆ ToMeters()

Vector3DInt carla::geom::Vector3DInt::ToMeters ( ) const
inline

Return a Vector3DInt converted from centimeters to meters.

在文件 Vector3DInt.h137 行定义.

友元及相关函数文档

◆ operator* [1/2]

Vector3DInt operator* ( int32_t lhs,
Vector3DInt rhs )
friend

在文件 Vector3DInt.h93 行定义.

◆ operator* [2/2]

Vector3DInt operator* ( Vector3DInt lhs,
int32_t rhs )
friend

在文件 Vector3DInt.h88 行定义.

◆ operator+

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

在文件 Vector3DInt.h64 行定义.

◆ operator-

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

在文件 Vector3DInt.h76 行定义.

◆ operator/ [1/2]

Vector3DInt operator/ ( int32_t lhs,
Vector3DInt rhs )
friend

在文件 Vector3DInt.h110 行定义.

◆ operator/ [2/2]

Vector3DInt operator/ ( Vector3DInt lhs,
int32_t rhs )
friend

在文件 Vector3DInt.h105 行定义.

类成员变量说明

◆ x

int32_t carla::geom::Vector3DInt::x = 0

◆ y

int32_t carla::geom::Vector3DInt::y = 0

◆ z

int32_t carla::geom::Vector3DInt::z = 0

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