|
faunus
|
Structure for exploring a discrete, uniform angular space between two rigid bodies. More...
#include <geometry.h>


Public Member Functions | |
| TwobodyAnglesState (double angle_resolution) | |
| TwobodyAnglesState & | advance () |
| Advance to next angle. | |
| std::optional< std::pair< Eigen::Quaterniond, Eigen::Quaterniond > > | get () |
| Get current pair of quaternions. More... | |
Public Member Functions inherited from Faunus::Geometry::TwobodyAngles | |
| TwobodyAngles (double angle_resolution) | |
| auto | quaternionPairs () const |
| Iterator to loop over pairs of quaternions to rotate two rigid bodies against each other. More... | |
| size_t | size () const |
| Total number of points in angular space (i.e. the number of unique poses) | |
Additional Inherited Members | |
Public Attributes inherited from Faunus::Geometry::TwobodyAngles | |
| std::vector< Eigen::Quaterniond > | quaternions_1 |
| Quaternions to explore all Euler angles. | |
| std::vector< Eigen::Quaterniond > | quaternions_2 |
| Quaternions to explore all Euler angles. | |
| std::vector< Eigen::Quaterniond > | dihedrals |
| Quaternions to explore all dihedral angles. | |
Structure for exploring a discrete, uniform angular space between two rigid bodies.
This version includes an iterator-like state that can be used to step through angular space.
Example:
| std::optional< std::pair< Eigen::Quaterniond, Eigen::Quaterniond > > Faunus::Geometry::TwobodyAnglesState::get | ( | ) |
Get current pair of quaternions.
std::nullopt of all angles have been explored.
1.8.13