PlayRho  2.0.0
An interactive physics engine & library.
AABB.hpp File Reference

Declaration of the AABB class and free functions that return instances of it. More...

#include <cstddef>
#include <playrho/BodyID.hpp>
#include <playrho/Interval.hpp>
#include <playrho/Settings.hpp>
#include <playrho/ShapeID.hpp>
#include <playrho/detail/AABB.hpp>
Include dependency graph for AABB.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 playrho
 
 playrho::d2
 
 playrho::detail
 

Typedefs

using playrho::d2::AABB = ::playrho::detail::AABB< 2 >
 2-Dimensional Axis Aligned Bounding Box.
 

Functions

AABB playrho::d2::ComputeAABB (const DistanceProxy &proxy, const Transformation &xf) noexcept
 Computes the AABB. More...
 
AABB playrho::d2::ComputeAABB (const DistanceProxy &proxy, const Transformation &xfm0, const Transformation &xfm1) noexcept
 Computes the AABB. More...
 
AABB playrho::d2::ComputeAABB (const Shape &shape, const Transformation &xf)
 Computes the AABB for the given shape with the given transformation.
 
AABB playrho::d2::ComputeAABB (const World &world, BodyID bodyID, ShapeID shapeID)
 Computes the AABB for the identified shape relative to the identified body within the given world. More...
 
AABB playrho::d2::ComputeAABB (const World &world, BodyID id)
 Computes the AABB for the identified body within the given world. More...
 
AABB playrho::d2::ComputeIntersectingAABB (const World &world, BodyID bA, ShapeID sA, ChildCounter iA, BodyID bB, ShapeID sB, ChildCounter iB)
 Computes the intersecting AABB for the given pair of body-shape-index values. More...
 
AABB playrho::d2::ComputeIntersectingAABB (const World &world, const Contact &contact)
 Computes the intersecting AABB for the given contact. More...
 
AABB playrho::d2::GetAABB (const playrho::detail::RayCastInput< 2 > &input) noexcept
 Gets the AABB for the given ray cast input data. <2>
 
constexpr Length playrho::d2::GetPerimeter (const AABB &aabb) noexcept
 Gets the perimeter length of the 2-dimensional AABB. More...
 

Variables

constexpr auto playrho::d2::InvalidAABB
 Invalid AABB value. More...
 

Detailed Description

Declaration of the AABB class and free functions that return instances of it.