MBSim |
Project Page |
Public Member Functions | |
| edgePolyFrustumCriteria (const double &tolerance_=1e-10) | |
| Constructor. | |
| virtual | ~edgePolyFrustumCriteria () |
| Destructor. | |
| void | setFrustumHeight (const double &frustumHeight_) |
| set frustum height | |
| void | setStartingXCoordinate (const double &ax_) |
| set starting x coordinate | |
| void | setdirectionXCoordinate (const double &dx_) |
| set starting x coordinate | |
| virtual int | operator() (const fmatvec::Vec &x) |
| computes the criteria | |
| virtual bool | isBetter (const fmatvec::Vec &x) |
| compares the result of given vector with the last result and returns if it got better (for damping) | |
| virtual void | clear () |
| deletes the list of criteria results | |
| const std::vector< double > & | getResults () |
Protected Member Functions | |
| bool | inBounds (const double &t) |
| checks if current point fullfills the boundary conditions | |
Protected Attributes | |
| double | tolerance |
| tolerance value for the criteria results | |
| double | frustumHeight |
| height of frustum | |
| std::vector< double > | criteriaResults |
| saves the results of the criteria | |
| double | ax |
| xPosition of starting Point | |
| double | dx |
| xdirection | |
| virtual int MBSim::edgePolyFrustumCriteria::operator() | ( | const fmatvec::Vec & | vector | ) | [virtual] |
computes the criteria
The criteria has to fulfill at least:
Implements MBSim::CriteriaFunction.
1.8.0