46 return x * x + y * y + z *
z;
120 return (x == rhs.
x) && (y == rhs.
y) && (z == rhs.
z);
124 return !(*
this == rhs);
131 #ifdef LIBCARLA_INCLUDED_FROM_UE4 134 Vector3DInt& operator=(
const FIntVector &rhs) =
delete;
146 FIntVector ToFIntVector()
const {
147 return FIntVector{
x,
y, z};
150 #endif // LIBCARLA_INCLUDED_FROM_UE4 158 template <
typename Packer>
161 clmdep_msgpack::type::make_define_array(x, y, z).msgpack_pack(pk);
165 clmdep_msgpack::type::make_define_array(x, y, z).msgpack_unpack(o);
167 template <
typename MSGPACK_OBJECT>
168 void msgpack_object(MSGPACK_OBJECT* o, clmdep_msgpack::zone& sneaky_variable_that_shadows_z)
const 170 clmdep_msgpack::type::make_define_array(x, y, z).msgpack_object(o, sneaky_variable_that_shadows_z);
friend Vector3DInt operator+(Vector3DInt lhs, const Vector3DInt &rhs)
Vector3DInt & operator-=(const Vector3DInt &rhs)
Vector3DInt & operator+=(const Vector3DInt &rhs)
This file contains definitions of common data structures used in traffic manager. ...
void msgpack_object(MSGPACK_OBJECT *o, clmdep_msgpack::zone &sneaky_variable_that_shadows_z) const
friend Vector3DInt operator/(int32_t lhs, Vector3DInt rhs)
void msgpack_unpack(clmdep_msgpack::object const &o)
friend Vector3DInt operator/(Vector3DInt lhs, int32_t rhs)
Vector3DInt & operator*=(int32_t rhs)
friend Vector3DInt operator-(Vector3DInt lhs, const Vector3DInt &rhs)
Vector3DInt & operator/=(int32_t rhs)
bool operator!=(const Vector3DInt &rhs) const
friend Vector3DInt operator*(int32_t lhs, Vector3DInt rhs)
int64_t SquaredLength() const
void msgpack_pack(Packer &pk) const
Vector3DInt(int32_t ix, int32_t iy, int32_t iz)
friend Vector3DInt operator*(Vector3DInt lhs, int32_t rhs)
bool operator==(const Vector3DInt &rhs) const