|
template<length_t L, typename T > |
constexpr Box< L, T > | donut::getAabbOf (const LineSegment< L, T > &line) noexcept |
| Get the axis-aligned bounding box of a line segment.
|
|
template<length_t L, typename T > |
constexpr Box< L, T > | donut::getAabbOf (const Sphere< L, T > &sphere) noexcept |
| Get the axis-aligned bounding box of a sphere.
|
|
template<typename T > |
constexpr Box< 2, T > | donut::getAabbOf (const Circle< T > &circle) noexcept |
| Get the axis-aligned bounding box of a circle.
|
|
template<length_t L, typename T > |
constexpr Box< L, T > | donut::getAabbOf (const Capsule< L, T > &capsule) noexcept |
| Get the axis-aligned bounding box of a capsule.
|
|
template<length_t L, typename T > |
constexpr Box< L, T > | donut::getAabbOf (const Box< L, T > &box) noexcept |
| Get the axis-aligned bounding box of an axis-aligned box.
|
|
template<typename T > |
constexpr Box< 2, T > | donut::getAabbOf (const Rectangle< T > &rectangle) noexcept |
| Get the axis-aligned bounding box of a rectangle.
|
|
template<length_t L, typename T > |
constexpr bool | donut::intersects (const Sphere< L, T > &a, const Sphere< L, T > &b) noexcept |
| Check if two spheres intersect.
|
|
template<typename T > |
constexpr bool | donut::intersects (const Circle< T > &a, const Circle< T > &b) noexcept |
| Check if two cirlces intersect.
|
|
template<length_t L, typename T > |
constexpr bool | donut::intersects (const Box< L, T > &a, const Box< L, T > &b) noexcept |
| Check if two axis-aligned boxes intersect.
|
|
template<typename T > |
constexpr bool | donut::intersects (const Rectangle< T > &a, const Rectangle< T > &b) noexcept |
| Check if two rectangles intersect.
|
|
template<typename T > |
constexpr bool | donut::intersects (const Circle< T > &a, const Sphere< 2, T > &b) noexcept |
| Check if a circle intersects with a sphere.
|
|
template<typename T > |
constexpr bool | donut::intersects (const Sphere< 2, T > &a, const Circle< T > &b) noexcept |
| Check if a sphere intersects with a circle.
|
|
template<typename T > |
constexpr bool | donut::intersects (const Rectangle< T > &a, const Box< 2, T > &b) noexcept |
| Check if a rectangle intersects with an axis-aligned box.
|
|
template<typename T > |
constexpr bool | donut::intersects (const Box< 2, T > &a, const Rectangle< T > &b) noexcept |
| Check if an axis-aligned box intersects with a rectangle.
|
|
template<length_t L, typename T > |
constexpr bool | donut::intersects (const Sphere< L, T > &a, const Box< L, T > &b) noexcept |
| Check if a sphere intersects with an axis-aligned box.
|
|
template<length_t L, typename T > |
constexpr bool | donut::intersects (const Box< L, T > &a, const Sphere< L, T > &b) noexcept |
| Check if an axis-aligned box intersects with a sphere.
|
|
template<typename T > |
constexpr bool | donut::intersects (const Circle< T > &a, const Box< 2, T > &b) noexcept |
| Check if a circle intersects with an axis-aligned box.
|
|
template<typename T > |
constexpr bool | donut::intersects (const Box< 2, T > &a, const Circle< T > &b) noexcept |
| Check if an axis-aligned box intersects with a circle.
|
|
template<typename T > |
constexpr bool | donut::intersects (const Sphere< 2, T > &a, const Rectangle< T > &b) noexcept |
| Check if a sphere intersects with a rectangle.
|
|
template<typename T > |
constexpr bool | donut::intersects (const Rectangle< T > &a, const Sphere< 2, T > &b) noexcept |
| Check if a rectangle intersects with a sphere.
|
|
template<typename T > |
constexpr bool | donut::intersects (const Circle< T > &a, const Rectangle< T > &b) noexcept |
| Check if a circle intersects with a rectangle.
|
|
template<typename T > |
constexpr bool | donut::intersects (const Rectangle< T > &a, const Circle< T > &b) noexcept |
| Check if a rectangle intersects with a circle.
|
|
template<length_t L, typename T > |
constexpr bool | donut::intersects (const Sphere< L, T > &a, const Capsule< L, T > &b) noexcept |
| Check if a sphere intersects with a capsule.
|
|
template<length_t L, typename T > |
constexpr bool | donut::intersects (const Capsule< L, T > &a, const Sphere< L, T > &b) noexcept |
| Check if a capsule intersects with a sphere.
|
|
template<typename T > |
constexpr bool | donut::intersects (const Circle< T > &a, const Capsule< 2, T > &b) noexcept |
| Check if a circle intersects with a capsule.
|
|
template<typename T > |
constexpr bool | donut::intersects (const Capsule< 2, T > &a, const Circle< T > &b) noexcept |
| Check if a capsule intersects with a circle.
|
|
template<length_t L, typename T > |
constexpr bool | donut::intersects (const Sphere< L, T > &a, const LineSegment< L, T > &b) noexcept |
| Check if a sphere intersects with a line segment.
|
|
template<length_t L, typename T > |
constexpr bool | donut::intersects (const LineSegment< L, T > &a, const Sphere< L, T > &b) noexcept |
| Check if a line segment intersects with a sphere.
|
|
template<typename T > |
constexpr bool | donut::intersects (const Circle< T > &a, const LineSegment< 2, T > &b) noexcept |
| Check if a circle intersects with a line segment.
|
|
template<typename T > |
constexpr bool | donut::intersects (const LineSegment< 2, T > &a, const Circle< T > &b) noexcept |
| Check if a line segment intersects with a circle.
|
|