Class modelling collision spheres used for collision checking.
This code uses Vector4d because Vector4d allows for SIMD vector operations when performing Isometry3d * Vector4d, which Vector3d does not.
#include <drake/planning/experimental/sphere_robot_model_collision_checker.h>
Public Member Functions | |
| SphereSpecification (const Eigen::Vector3d &p_BSo, double radius) | |
| Make a sphere. | |
| SphereSpecification (const Eigen::Vector4d &p_BSo, double radius) | |
| Make a sphere. | |
| SphereSpecification (double x, double y, double z, double radius) | |
| Make a sphere at position p_BSo, origin of sphere S in frame of body B. | |
| const Eigen::Vector4d & | Origin () const |
| double | Radius () const |
| void | SetOrigin (const Eigen::Vector4d &p_BSo) |
| SphereSpecification | ( | const Eigen::Vector3d & | p_BSo, |
| double | radius ) |
Make a sphere.
| p_BSo | Origin of sphere S in frame of body B. |
| radius | Radius of sphere. |
| SphereSpecification | ( | const Eigen::Vector4d & | p_BSo, |
| double | radius ) |
Make a sphere.
| p_BSo | Origin of sphere S in frame of body B, as Eigen::Vector4d to match the fastest path in VoxelGrid<T> lookups. Note that last element of vector must be 1.0. |
| radius | Radius of sphere. |
| SphereSpecification | ( | double | x, |
| double | y, | ||
| double | z, | ||
| double | radius ) |
Make a sphere at position p_BSo, origin of sphere S in frame of body B.
| x | X value of p_BSo. |
| y | Y value of p_BSo. |
| z | Z value of p_BSo. |
| radius | Radius of sphere. p_BSo is provided by (x, y, z) |
| const Eigen::Vector4d & Origin | ( | ) | const |
| double Radius | ( | ) | const |
| void SetOrigin | ( | const Eigen::Vector4d & | p_BSo | ) |