14#ifdef LIBCARLA_INCLUDED_FROM_UE4
16#include "Math/Transform.h"
68 auto out_point = in_point;
76 auto out_vector = in_vector;
78 in_vector = out_vector;
83 auto out_point = in_point;
103 std::array<float, 16> transform = {
104 cp * cy, cy * sp * sr - sy *
cr, -cy * sp *
cr - sy * sr,
location.
x,
105 cp * sy, sy * sp * sr + cy *
cr, -sy * sp *
cr + cy * sr,
location.
y,
129 std::array<float, 16> transform = {
130 cp * cy, cp * sy, sp, a.
x,
131 cy * sp * sr - sy *
cr, sy * sp * sr + cy *
cr, -cp * sr, a.
y,
132 -cy * sp *
cr - sy * sr, -sy * sp *
cr + cy * sr, cp *
cr, a.
z,
133 0.0f, 0.0f, 0.0f, 1.0};
147 return !(*
this == rhs);
154#ifdef LIBCARLA_INCLUDED_FROM_UE4
159 operator FTransform()
const {
160 const FVector scale{1.0f, 1.0f, 1.0f};
static constexpr T ToRadians(T deg)
Vector3D GetUpVector() const
Vector3D GetRightVector() const
void InverseRotateVector(Vector3D &in_point) const
void RotateVector(Vector3D &in_point) const
Vector3D GetForwardVector() const
This file contains definitions of common data structures used in traffic manager.