10 maxPonderatorList = NULL;
11 minPonderatorList = NULL;
17 maxPonderatorList = maxs;
18 minPonderatorList = mins;
23 if( dofList != NULL )
delete [] dofList;
24 if( minPonderatorList != NULL )
delete [] minPonderatorList;
25 if( maxPonderatorList != NULL )
delete [] maxPonderatorList;
29 return minPonderatorList;
33 return maxPonderatorList;
41 for(
int ind = 0; ind < numDofs; ind++ ) {
42 ptrMinPonderator =
dynamic_cast<VART::Bezier*
>(&(minPonderatorList[ind]));
43 ptrMinPonderator->
GetPoint(dofList[ind]->GetCurrent(), &ponderatorPoint);
44 aux = ponderatorPoint.
GetY();
45 if( aux > min ) min = aux;
55 for(
int ind = 0; ind < numDofs; ind++ ) {
56 ptrMaxPonderator =
dynamic_cast<VART::Bezier*
>(&(maxPonderatorList[ind]));
57 ptrMaxPonderator->
GetPoint(dofList[ind]->GetCurrent(), &ponderatorPoint);
58 aux = ponderatorPoint.
GetY();
59 if( aux < max ) max = aux;
Header file for V-ART class "Dof".
Points and vectors using homogeneous coordinates.
A paramteric curve in 3D/4D space.
Header file for V-ART class "Modifier".
Curve * GetMaxPonderatorList()
Curve * GetMinPonderatorList()
Degree Of Freedom - basic component of a Joint.
virtual void GetPoint(double t, Point4D *result)
Returns a point of the curve.