AxisAlignedBoxHelpers< Precision > Class Template Reference
A utility class to assist in converting different geometric shapes into AxisAlignedBox representations. More...
#include <AxisAlignedBoxHelpers.hh>
Static Public Member Functions | |
static AxisAlignedBox | ConvertToAxisAlignedBox (const Box< Precision > &_box) |
Convert a Box to an AxisAlignedBox. | |
static AxisAlignedBox | ConvertToAxisAlignedBox (const Capsule< Precision > &_capsule) |
Convert a Capsule to an AxisAlignedBox. | |
static AxisAlignedBox | ConvertToAxisAlignedBox (const Cylinder< Precision > &_cylinder) |
Convert a Cylinder to an AxisAlignedBox. | |
static AxisAlignedBox | ConvertToAxisAlignedBox (const Sphere< Precision > &_sphere) |
Convert a Sphere to an AxisAlignedBox. | |
Detailed Description
A utility class to assist in converting different geometric shapes into AxisAlignedBox representations.
AxisAlignedBoxHelpers.hh gz/math/AxisAlignedBoxHelpers.hh
This class provides static methods for converting different types of 3D shapes, such as Box, Sphere, Capsule, and Cylinder, into AxisAlignedBox objects.
Member Function Documentation
🔗ConvertToAxisAlignedBox() [1/4]
|
static |
Convert a Box to an AxisAlignedBox.
- Parameters
-
[in] _box The Box to be converted.
- Returns
- An AxisAlignedBox that fully contains the given Box.
🔗ConvertToAxisAlignedBox() [2/4]
|
static |
Convert a Capsule to an AxisAlignedBox.
- Parameters
-
[in] _capsule The Capsule to be converted.
- Returns
- An AxisAlignedBox that fully contains the given Capsule.
🔗ConvertToAxisAlignedBox() [3/4]
|
static |
Convert a Cylinder to an AxisAlignedBox.
- Parameters
-
[in] _cylinder The Cylinder to be converted.
- Returns
- An AxisAlignedBox that fully contains the given Cylinder.
🔗ConvertToAxisAlignedBox() [4/4]
|
static |
Convert a Sphere to an AxisAlignedBox.
- Parameters
-
[in] _sphere The Sphere to be converted.
- Returns
- An AxisAlignedBox that fully contains the given Sphere.
The documentation for this class was generated from the following file: