#include <PIKAlgorithms.h>
Public Member Functions | |
| PCCDSolver (PChain *loop, PAtom *effectorPrior, PAtom *effectorEnd, Vector3 goalPrior, Vector3 goalEnd) | |
| Real | DoDescent () |
| void | GetGoals (Vector3 &goalPrior, Vector3 &goalEnd) |
| PCCDSolver::PCCDSolver | ( | PChain * | loop, | |
| PAtom * | effectorPrior, | |||
| PAtom * | effectorEnd, | |||
| Vector3 | goalPrior, | |||
| Vector3 | goalEnd | |||
| ) |
Constructs a new PCCDSolver.
| Real PCCDSolver::DoDescent | ( | ) |
Performs one iteration of the CCD algorithm. Returns the sum of squares of the distances between the end effectors and their goals.
| void PCCDSolver::GetGoals | ( | Vector3 & | goalPrior, | |
| Vector3 & | goalEnd | |||
| ) |
1.5.1