#include <Vector3DInt.h>
Public Member Functions | |
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 |
Vector3DInt & | operator*= (int32_t rhs) |
Vector3DInt & | operator+= (const Vector3DInt &rhs) |
Vector3DInt & | operator-= (const Vector3DInt &rhs) |
Vector3DInt & | operator/= (int32_t rhs) |
bool | operator== (const Vector3DInt &rhs) const |
int64_t | SquaredLength () const |
Vector3DInt ()=default | |
Vector3DInt (int32_t ix, int32_t iy, int32_t iz) | |
Public Attributes | |
int32_t | x = 0 |
int32_t | y = 0 |
int32_t | z = 0 |
Friends | |
Vector3DInt | operator* (Vector3DInt lhs, int32_t rhs) |
Vector3DInt | operator* (int32_t lhs, Vector3DInt rhs) |
Vector3DInt | operator+ (Vector3DInt lhs, const Vector3DInt &rhs) |
Vector3DInt | operator- (Vector3DInt lhs, const Vector3DInt &rhs) |
Vector3DInt | operator/ (Vector3DInt lhs, int32_t rhs) |
Vector3DInt | operator/ (int32_t lhs, Vector3DInt rhs) |
Definition at line 17 of file Vector3DInt.h.
|
default |
|
inline |
Definition at line 36 of file Vector3DInt.h.
|
inline |
Definition at line 49 of file Vector3DInt.h.
References SquaredLength().
|
inline |
Definition at line 168 of file Vector3DInt.h.
|
inline |
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
Definition at line 159 of file Vector3DInt.h.
|
inline |
Definition at line 163 of file Vector3DInt.h.
|
inline |
Definition at line 123 of file Vector3DInt.h.
References Vector3DInt(), x, and y.
|
inline |
Definition at line 81 of file Vector3DInt.h.
|
inline |
Definition at line 57 of file Vector3DInt.h.
|
inline |
Definition at line 69 of file Vector3DInt.h.
|
inline |
Definition at line 98 of file Vector3DInt.h.
|
inline |
Definition at line 119 of file Vector3DInt.h.
|
inline |
Definition at line 45 of file Vector3DInt.h.
References z.
Referenced by Length().
|
friend |
Definition at line 88 of file Vector3DInt.h.
|
friend |
Definition at line 93 of file Vector3DInt.h.
|
friend |
Definition at line 64 of file Vector3DInt.h.
|
friend |
Definition at line 76 of file Vector3DInt.h.
|
friend |
Definition at line 105 of file Vector3DInt.h.
|
friend |
Definition at line 110 of file Vector3DInt.h.
int32_t carla::geom::Vector3DInt::x = 0 |
Definition at line 24 of file Vector3DInt.h.
Referenced by operator!=(), operator+=(), operator-=(), and operator==().
int32_t carla::geom::Vector3DInt::y = 0 |
Definition at line 26 of file Vector3DInt.h.
Referenced by operator!=(), operator+=(), operator-=(), and operator==().
int32_t carla::geom::Vector3DInt::z = 0 |
Definition at line 28 of file Vector3DInt.h.
Referenced by operator+=(), operator-=(), operator==(), and SquaredLength().