#include "test.h"
#include <carla/geom/Vector3D.h>
#include <carla/geom/Math.h>
#include <carla/geom/BoundingBox.h>
#include <carla/geom/Transform.h>
#include <limits>
Go to the source code of this file.
Namespaces | |
carla | |
This file contains definitions of common data structures used in traffic manager. | |
carla::geom | |
Functions | |
std::ostream & | carla::geom::operator<< (std::ostream &out, const Vector3D &vector3D) |
TEST (geom, single_point_no_transform) | |
TEST (geom, single_point_translation) | |
TEST (geom, single_point_transform_inverse_transform_coherence) | |
TEST (geom, bbox_get_local_vertices_get_world_vertices_coherence) | |
TEST (geom, single_point_rotation) | |
TEST (geom, single_point_translation_and_rotation) | |
TEST (geom, distance) | |
TEST (geom, nearest_point_segment) | |
TEST (geom, forward_vector) | |
TEST (geom, nearest_point_arc) | |
TEST | ( | geom | , |
single_point_no_transform | |||
) |
Definition at line 28 of file test_geom.cpp.
References carla::geom::Transform::TransformPoint(), carla::geom::Vector3D::x, carla::geom::Vector3D::y, and carla::geom::Vector3D::z.
TEST | ( | geom | , |
single_point_translation | |||
) |
Definition at line 45 of file test_geom.cpp.
References carla::geom::Transform::TransformPoint(), carla::geom::Vector3D::x, carla::geom::Vector3D::y, and carla::geom::Vector3D::z.
TEST | ( | geom | , |
single_point_transform_inverse_transform_coherence | |||
) |
Definition at line 62 of file test_geom.cpp.
References carla::geom::Transform::InverseTransformPoint(), carla::geom::Transform::TransformPoint(), carla::geom::Vector3D::x, carla::geom::Vector3D::y, and carla::geom::Vector3D::z.
TEST | ( | geom | , |
bbox_get_local_vertices_get_world_vertices_coherence | |||
) |
Definition at line 82 of file test_geom.cpp.
References carla::geom::BoundingBox::GetLocalVertices(), carla::geom::BoundingBox::GetWorldVertices(), and carla::geom::Transform::TransformPoint().
TEST | ( | geom | , |
single_point_rotation | |||
) |
Definition at line 108 of file test_geom.cpp.
References carla::geom::Transform::TransformPoint(), carla::geom::Vector3D::x, carla::geom::Vector3D::y, and carla::geom::Vector3D::z.
TEST | ( | geom | , |
single_point_translation_and_rotation | |||
) |
Definition at line 123 of file test_geom.cpp.
References carla::geom::Transform::TransformPoint(), carla::geom::Vector3D::x, carla::geom::Vector3D::y, and carla::geom::Vector3D::z.
TEST | ( | geom | , |
distance | |||
) |
Definition at line 138 of file test_geom.cpp.
References carla::geom::Math::Distance().
TEST | ( | geom | , |
nearest_point_segment | |||
) |
Definition at line 151 of file test_geom.cpp.
References carla::geom::Math::DistanceSegmentToPoint().
TEST | ( | geom | , |
forward_vector | |||
) |
Definition at line 199 of file test_geom.cpp.
References carla::geom::Rotation::GetForwardVector().
TEST | ( | geom | , |
nearest_point_arc | |||
) |
Definition at line 220 of file test_geom.cpp.
References carla::geom::Math::DistanceArcToPoint().