Container for all spheres belonging to a single body's collision model.
API is generally equivalent to that of map<GeometryId, SphereSpecification>. Interator support is provided to enable easy iteration over the spheres.
#include <drake/planning/experimental/sphere_robot_model_collision_checker.h>
Public Types | |
| using | const_iterator |
Public Member Functions | |
| BodySpheres ()=default | |
| const_iterator | begin () const |
| const_iterator | end () const |
| const SphereSpecification & | At (geometry::GeometryId geometry_id) const |
| int | Size () const |
| bool | Empty () const |
| const SphereSpecification & | bounding_sphere () const |
| Retrieve the bounding sphere, if available, or throws if the bounding sphere is not available. | |
Friends | |
| class | SphereRobotModelCollisionChecker |
| using const_iterator |
|
default |
| const SphereSpecification & At | ( | geometry::GeometryId | geometry_id | ) | const |
| const_iterator begin | ( | ) | const |
| const SphereSpecification & bounding_sphere | ( | ) | const |
Retrieve the bounding sphere, if available, or throws if the bounding sphere is not available.
| bool Empty | ( | ) | const |
| const_iterator end | ( | ) | const |
| int Size | ( | ) | const |
|
friend |