1 #ifndef NURBS_MAPPING_H
2 #define NURBS_MAPPING_H
59 int binomial(
const int m,
const int n);
121 bool includeGhost=
false);
135 int insertKnot(
const real & uBar,
const int & numberOfTimesToInsert=1 );
142 int *numPointsToInterpolate=
NULL );
146 const int & option = 0 ,
155 const int & option = 0 ,
212 const bool & scaleParameterSpace=
TRUE );
228 const int & numberOfTimesToRemove,
230 const real &tol = 100.*FLT_EPSILON);
235 const real & vMin=0.,
236 const real & vMax=1.);
239 int rotate(
const int & axis,
const real & theta );
243 const real & scaley=1.,
244 const real & scalez=1. );
248 const real & r1End =1.,
249 const real & r2Start =0.,
250 const real & r2End =1.,
251 const real & r3Start =0.,
252 const real & r3End =1. );
256 const real & shifty=0.,
257 const real & shiftz=0. );
266 bool normalizeTheKnots=
true );
276 bool normalizeTheKnots=
true );
295 const real & vScale =1.,
296 const real & vShift =0. );
312 void initialize(
bool setMappingHasChanged=
true );
345 bool nonUniformWeights;
346 real uMin,uMax,vMin,vMax,wMin,wMax;
347 int nurbsIsPeriodic[3];
348 real rStart[3], rEnd[3];
350 bool mappingNeedsToBeReinitialized;
380 int findSpan(
const int & n ,
384 void basisFuns(
const int & i,
389 void dersBasisFuns(
const int & i,
397 void findSpan(
const int & n ,
404 void dersBasisFuns(
const Index & I,