We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add helper functions that create an AxisAlignedBox object when passed a shape object like Box, Capsule, Cylinder, etc.
Box
Capsule
Cylinder
Add static helper functions to a separate header file (such as include/gz/math/AxisAlignedBoxHelpers.hh) with the following API:
include/gz/math/AxisAlignedBoxHelpers.hh
static gz::math::AxisAlignedBox ConvertToAxisAlignedBox(const gz::math::Box &); static gz::math::AxisAlignedBox ConvertToAxisAlignedBox(const gz::math::Sphere &); static gz::math::AxisAlignedBox ConvertToAxisAlignedBox(const gz::math::Capsule &); etc.
This was motivated by the feature proposed by @gabrielfpacheco in gazebosim/sdformat#1547.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Desired behavior
Add helper functions that create an AxisAlignedBox object when passed a shape object like
Box
,Capsule
,Cylinder
, etc.Alternatives considered
Implementation suggestion
Add static helper functions to a separate header file (such as
include/gz/math/AxisAlignedBoxHelpers.hh
) with the following API:Additional context
This was motivated by the feature proposed by @gabrielfpacheco in gazebosim/sdformat#1547.
The text was updated successfully, but these errors were encountered: