|
| struct | grem::Ray< N, T > |
| | Generic ray with an origin and direction in N-dimensional space. More...
|
| struct | grem::RayMiss |
| | Result of a raycast miss. More...
|
| struct | grem::RayHit< N, T > |
| | Result of a raycast hit. More...
|
| struct | grem::RayHitInterior< N, T > |
| | Result of an interor raycast hit. More...
|
| struct | grem::RaycastResult< N, T > |
| | Result of a raycast. More...
|
| struct | grem::Box< N, T > |
| | Generic axis-aligned box shape with minimum and maximum extents in N-dimensional space. More...
|
| struct | grem::Rectangle< T > |
| | Flat 2D axis-aligned rectangle shape with a position and size. More...
|
| struct | grem::Square< T > |
| | Flat 2D axis-aligned square shape with a position and width. More...
|
| struct | grem::Cube< T > |
| | 3D axis-aligned cube shape with a position and width. More...
|
| struct | grem::Triangle< N, T > |
| | Generic triangle shape in N-dimensional space. More...
|
| struct | grem::LineSegment< N, T > |
| | Generic line segment between two points in N-dimensional space. More...
|
| struct | grem::Ellipsoid< N, T > |
| | Generic ellipsoid shape with a center and axis-aligned radii in N-dimensional space. More...
|
| struct | grem::Ellipse< T > |
| | Flat 2D ellipse shape with a center and axis-aligned radii. More...
|
| struct | grem::Sphere< N, T > |
| | Generic sphere shape with a center and radius in N-dimensional space. More...
|
| struct | grem::Circle< T > |
| | Flat 2D circle shape with a center and radius. More...
|
| struct | grem::Capsule< N, T > |
| | Generic capsule shape with a center line segment and radius in N-dimensional space. More...
|
| struct | grem::Frustum< T > |
| | Truncated pyramid shape in 3D space. More...
|
|
| template<size_t N, typename T> |
| constexpr Box< N, T > | grem::calculateBoundingBox (StridedSpan< const Point< N, T > > points) noexcept |
| | Calculate the axis-aligned bounding box of a set of points.
|
template<size_t N, typename T>
requires (floating_point<T>) |
| constexpr T | grem::calculateBoundingRadius (StridedSpan< const Point< N, T > > points) noexcept |
| | Calculate the bounding radius from the origin of a set of points.
|
template<size_t N, typename T>
requires (floating_point<T>) |
| constexpr Box< N, T > | grem::getTransformedBoundingBox (const mat< N+1, N+1, T > &transformation, const Box< N, T > &aabb) noexcept |
| | Get the axis-aligned bounding box of an axis-aligned box with an affine transformation applied to it.
|
| constexpr bool | grem::intersects (const spherical_shape auto &a, const spherical_shape auto &b) noexcept |
| | Check if two spherical shapes intersect.
|
| constexpr bool | grem::intersects (const axis_aligned_box_shape auto &a, const axis_aligned_box_shape auto &b) noexcept |
| | Check if two axis-aligned box shapes intersect.
|
| constexpr bool | grem::intersects (const spherical_shape auto &a, const axis_aligned_box_shape auto &b) noexcept |
| | Check if a spherical shape intersects an axis-aligned box shape.
|
| constexpr bool | grem::intersects (const axis_aligned_box_shape auto &a, const spherical_shape auto &b) noexcept |
| | Check if an axis-aligned box shape intersects a spherical shape.
|
| template<size_t N, typename T> |
| constexpr bool | grem::intersects (const raycastable_shape auto &a, const LineSegment< N, T > &b) noexcept |
| | Check if a raycastable shape intersects a line segment.
|
| template<size_t N, typename T> |
| constexpr bool | grem::intersects (const LineSegment< N, T > &a, const raycastable_shape auto &b) noexcept |
| | Check if a line segment intersects a raycastable shape.
|
| template<typename T> |
| constexpr bool | grem::intersects (const axis_aligned_box_shape auto &a, const Capsule< 2, T > &b) noexcept |
| | Check if a 2D axis-aligned box shape intersects a 2D capsule.
|
| template<typename T> |
| constexpr bool | grem::intersects (const Capsule< 2, T > &a, const axis_aligned_box_shape auto &b) noexcept |
| | Check if a 2D capsule intersects a 2D axis-aligned box shape.
|
| template<size_t N, typename T> |
| constexpr bool | grem::intersects (const spherical_shape auto &a, const Capsule< N, T > &b) noexcept |
| | Check if a spherical shape intersects a capsule.
|
| template<size_t N, typename T> |
| constexpr bool | grem::intersects (const Capsule< N, T > &a, const spherical_shape auto &b) noexcept |
| | Check if a capsule intersects a spherical shape.
|
| template<size_t N, typename T> |
| constexpr bool | grem::intersects (const Sphere< N, T > &a, const LineSegment< N, T > &b) noexcept |
| | Check if a sphere intersects a line segment.
|
| template<size_t N, typename T> |
| constexpr bool | grem::intersects (const LineSegment< N, T > &a, const Sphere< N, T > &b) noexcept |
| | Check if a line segment intersects a sphere.
|
| template<typename T> |
| constexpr bool | grem::intersects (const Circle< T > &a, const LineSegment< 2, T > &b) noexcept |
| | Check if a circle intersects a line segment.
|
| template<typename T> |
| constexpr bool | grem::intersects (const LineSegment< 2, T > &a, const Circle< T > &b) noexcept |
| | Check if a line segment intersects a circle.
|