#include <BoundingBox.h>
Public 成员函数 | |
BoundingBox ()=default | |
BoundingBox (const FBoundingBox &Box) | |
BoundingBox (const Location &in_location, const Vector3D &in_extent) | |
BoundingBox (const Location &in_location, const Vector3D &in_extent, const Rotation &in_rotation) | |
BoundingBox (const Vector3D &in_extent) | |
bool | Contains (const Location &in_world_point, const Transform &in_bbox_to_world_transform) const |
Whether this BoundingBox contains in_world_point in world space. | |
std::array< Location, 8 > | GetLocalVertices () const |
Returns the positions of the 8 vertices of this BoundingBox in local space. | |
std::array< Location, 8 > | GetLocalVerticesNoRotation () const |
Returns the positions of the 8 vertices of this BoundingBox in local space without its own rotation. | |
std::array< Location, 8 > | GetWorldVertices (const Transform &in_bbox_to_world_tr) const |
Returns the positions of the 8 vertices of this BoundingBox in world space. | |
MSGPACK_DEFINE_ARRAY (location, extent, rotation) | |
bool | operator!= (const BoundingBox &rhs) const |
bool | operator== (const BoundingBox &rhs) const |
Public 属性 | |
Vector3D | extent |
Half the size of the BoundingBox in local space | |
Location | location |
Center of the BoundingBox in local space | |
Rotation | rotation |
Rotation of the BoundingBox in local space | |
在文件 LibCarla/source/carla/geom/BoundingBox.h 第 26 行定义.
|
default |
|
inlineexplicit |
在文件 LibCarla/source/carla/geom/BoundingBox.h 第 35 行定义.
|
inlineexplicit |
在文件 LibCarla/source/carla/geom/BoundingBox.h 第 40 行定义.
|
inlineexplicit |
在文件 LibCarla/source/carla/geom/BoundingBox.h 第 45 行定义.
|
inline |
在文件 LibCarla/source/carla/geom/BoundingBox.h 第 137 行定义.
|
inline |
Whether this BoundingBox contains in_world_point in world space.
in_world_point | the point in world space that you want to query whether it is inside or not. |
in_bbox_to_world_transform | the transformation from BoundingBox space to World space. |
在文件 LibCarla/source/carla/geom/BoundingBox.h 第 63 行定义.
引用了 extent, carla::geom::Transform::InverseTransformPoint(), location, carla::geom::Vector3D::x, carla::geom::Vector3D::y , 以及 carla::geom::Vector3D::z.
|
inline |
Returns the positions of the 8 vertices of this BoundingBox in local space.
在文件 LibCarla/source/carla/geom/BoundingBox.h 第 76 行定义.
引用了 location, carla::geom::Rotation::RotateVector() , 以及 rotation.
被这些函数引用 GetWorldVertices() , 以及 TEST().
|
inline |
Returns the positions of the 8 vertices of this BoundingBox in local space without its own rotation.
在文件 LibCarla/source/carla/geom/BoundingBox.h 第 93 行定义.
引用了 extent, location, carla::geom::Vector3D::x, carla::geom::Vector3D::y , 以及 carla::geom::Vector3D::z.
|
inline |
Returns the positions of the 8 vertices of this BoundingBox in world space.
in_bbox_to_world_transform | The Transform from this BoundingBox space to world space. |
在文件 LibCarla/source/carla/geom/BoundingBox.h 第 111 行定义.
引用了 GetLocalVertices().
被这些函数引用 TEST().
|
inline |
在文件 LibCarla/source/carla/geom/BoundingBox.h 第 127 行定义.
|
inline |
在文件 LibCarla/source/carla/geom/BoundingBox.h 第 123 行定义.
Vector3D carla::geom::BoundingBox::extent |
Half the size of the BoundingBox in local space
在文件 LibCarla/source/carla/geom/BoundingBox.h 第 51 行定义.
被这些函数引用 carla::nav::Navigation::AddOrUpdateVehicle(), carla::road::Map::ComputeJunctionConflicts(), Contains(), carla::road::Map::GetJunctionsBoundingBoxes(), GetLocalVerticesNoRotation(), carla::client::TrafficLight::GetStopWaypoints(), operator==() , 以及 carla::road::Map::SDFToMesh().
Location carla::geom::BoundingBox::location |
Center of the BoundingBox in local space
在文件 LibCarla/source/carla/geom/BoundingBox.h 第 50 行定义.
被这些函数引用 carla::road::Map::ComputeJunctionConflicts(), Contains(), carla::rss::RssCheck::GetGreenTrafficLightsOnRoute(), GetLocalVertices(), GetLocalVerticesNoRotation(), carla::client::TrafficLight::GetStopWaypoints(), operator==() , 以及 carla::road::Map::SDFToMesh().
Rotation carla::geom::BoundingBox::rotation |
Rotation of the BoundingBox in local space
在文件 LibCarla/source/carla/geom/BoundingBox.h 第 52 行定义.
被这些函数引用 GetLocalVertices(), operator==() , 以及 carla::road::Map::SDFToMesh().