MBSim |
Project Page |
Basis-Class for Contour interpolation between Point s, standard contact Point-ContourInterpolation is implemented special interpolations only need to provide (as derived class) the pure virtuals predefined here. More...
#include <contour_interpolation.h>
Public Member Functions | |
| ContourInterpolation (const std::string &name, int parameters_, int nPoints_) | |
| constructor | |
| void | setPoint (Point *pointN, int n) |
| set point for interpolation | |
| std::vector< Point * > | getPoints () const |
| get list of Point s | |
| Point * | getPoint (const int n) const |
| int | getNPoints () const |
| get number of Point s used for interpolation | |
| int | getNContourParameters () const |
| get number of Contour-parameters of Contour | |
| virtual bool | testInsideBounds (const ContourPointData &cp)=0 |
| prototype for test if Contour-point given is inside or outside defined contour area | |
| virtual double | computePointWeight (const fmatvec::VecV &s, int i)=0 |
| prototype of method giving weights of all Point s | |
| virtual double | computePointWeight (const fmatvec::VecV &s, int i, int diff)=0 |
| prototype of method giving first derivatives with respect to the diff-th Contour-parameters of all Point s | |
| fmatvec::VecV | computePointWeights (const fmatvec::VecV &s) |
| compute all weights for nodes | |
| fmatvec::Vec3 | computeWrOC (const fmatvec::VecV &s) |
| fmatvec::Vec3 | computeWvC (const fmatvec::VecV &s) |
| fmatvec::Mat3xV | computeWt (const fmatvec::VecV &s) |
| fmatvec::Vec3 | computeWn (const fmatvec::VecV &s) |
| fmatvec::Vec3 | computeWrOC (const ContourPointData &cp) |
| fmatvec::Vec3 | computeWvC (const ContourPointData &cp) |
| fmatvec::Mat3xV | computeWt (const ContourPointData &cp) |
| virtual fmatvec::Vec3 | computeWn (const ContourPointData &cp)=0 |
Protected Attributes | |
| std::vector< Point * > | iPoints |
| list of Point s holding ContourInterpolation | |
| int | contourParameters |
| number of Contour-parameters used by ContourInterpolation: 1 for lines, 2 for surfaces | |
| int | numberOfPoints |
| size of iPoints, number of Point s used for interpolation | |
Basis-Class for Contour interpolation between Point s, standard contact Point-ContourInterpolation is implemented special interpolations only need to provide (as derived class) the pure virtuals predefined here.
| MBSim::ContourInterpolation::ContourInterpolation | ( | const std::string & | name, |
| int | parameters_, | ||
| int | nPoints_ | ||
| ) |
constructor
| name | of contour |
| parameters | |
| number | of interpolation points |
| virtual double MBSim::ContourInterpolation::computePointWeight | ( | const fmatvec::VecV & | s, |
| int | i | ||
| ) | [pure virtual] |
| virtual double MBSim::ContourInterpolation::computePointWeight | ( | const fmatvec::VecV & | s, |
| int | i, | ||
| int | diff | ||
| ) | [pure virtual] |
| void MBSim::ContourInterpolation::setPoint | ( | Point * | pointN, |
| int | n | ||
| ) |
set point for interpolation
| pointN | Point to use |
| position | in iPoints, Points-number |
| virtual bool MBSim::ContourInterpolation::testInsideBounds | ( | const ContourPointData & | cp | ) | [pure virtual] |
prototype for test if Contour-point given is inside or outside defined contour area
| cp | Contour-point |
Implemented in MBSim::ContourQuad.
1.8.0