Overture
Version 25
|
#include <NurbsMapping.h>
Public Member Functions | |
NurbsMapping () | |
NurbsMapping (const int &domainDimension, const int &rangeDimension_) | |
NurbsMapping (const NurbsMapping &, const CopyType copyType=DEEP) | |
~NurbsMapping () | |
NurbsMapping & | operator= (const NurbsMapping &X0) |
int | addSubCurve (NurbsMapping &nurbs) |
void | basicInverse (const realArray &x, realArray &r, realArray &rx=Overture::nullRealDistributedArray(), MappingParameters ¶ms=Overture::nullMappingParameters()) |
virtual void | basicInverseS (const RealArray &x, RealArray &r, RealArray &rx=Overture::nullRealArray(), MappingParameters ¶ms=Overture::nullMappingParameters()) |
int | binomial (const int m, const int n) |
int | buildSubCurves (real angle=60.) |
int | buildCurveOnSurface (NurbsMapping &curve, real r0, real r1=-1.) |
int | buildComponentCurve (NurbsMapping &curve, int component=0) |
int | circle (RealArray &o, RealArray &x, RealArray &y, real r, real startAngle=0., real endAngle=1.) |
int | conic (const RealArray &p0, const RealArray &t0, const RealArray &p2, const RealArray &t2, const RealArray &p) |
int | conic (const real a, const real b, const real c, const real d, const real e, const real f, const real z, const real x1, const real y1, const real x2, const real y2) |
int | deleteSubCurve (int sc) |
virtual void | display (const aString &label=blankString) const |
int | elevateDegree (const int increment) |
int | forcedMerge (NurbsMapping &nurbs) |
int | forcePeriodic () |
int | generalCylinder (const Mapping &curve, real d[3]) |
int | generalCylinder (const Mapping &curve1, const Mapping &curve2) |
int | interpolateLoftedSurface (std::vector< Mapping * > &, int degree1=3, int degree2=3, ParameterizationTypeEnum parameterizationType=parameterizeByChordLength, int numberOfGhostPoints=0) |
const RealArray & | getControlPoints () const |
const RealArray & | getKnots (int direction=0) const |
virtual int | get (const GenericDataBase &dir, const aString &name) |
int | get (FILE *file, const FileFormat &fileFormat=xxww) |
int | get (const aString &fileName, const FileFormat &fileFormat=xxww) |
aString | getClassName () const |
virtual const realArray & | getGrid (MappingParameters ¶ms=Overture::nullMappingParameters(), bool includeGhost=false) |
int | getNumberOfControlPoints (int axis=0) const |
int | getNumberOfKnots (int axis=0) const |
int | getOrder (int axis=0) const |
real | getOriginalDomainBound (int side, int axis) |
int | getParameterBounds (int axis, real &rStart, real &rEnd) const |
int | insertKnot (const real &uBar, const int &numberOfTimesToInsert=1) |
void | interpolate (Mapping &map, int degree=3, ParameterizationTypeEnum parameterizationType=parameterizeByChordLength, int numberOfGhostPoints=0, int *numPointsToInterpolate=NULL) |
void | interpolate (const RealArray &x, const int &option=0, RealArray ¶meterization=Overture::nullRealArray(), int degree=3, ParameterizationTypeEnum parameterizationType=parameterizeByChordLength, int numberOfGhostPoints=0) |
void | interpolateSurface (const RealArray &x, int degree=3, ParameterizationTypeEnum parameterizationType=parameterizeByChordLength, int numberOfGhostPoints=0, int degree2=3) |
void | interpolateVolume (const RealArray &x, int degree=3, ParameterizationTypeEnum parameterizationType=parameterizeByChordLength, int numberOfGhostPoints=0) |
bool | isInitialized () |
bool | isSubCurveHidden (int sc) |
bool | isSubCurveOriginal (int sc) |
int | joinSubCurves (int subCurveNumber) |
Join two consequtive sub-curves and modify the subcurve list. | |
int | joinSubCurves (int subCurve1, int subCurve2) |
Join two sub-curves (merge into one) | |
int | line (const RealArray &p1, const RealArray &p2) |
void | lowerRangeDimension () |
Mapping * | make (const aString &mappingClassName) |
void | map (const realArray &r, realArray &x, realArray &xr=Overture::nullRealDistributedArray(), MappingParameters ¶ms=Overture::nullMappingParameters()) |
virtual void | mapS (const RealArray &r, RealArray &x, RealArray &xr=Overture::nullRealArray(), MappingParameters ¶ms=Overture::nullMappingParameters()) |
int | matrixTransform (const RealArray &r) |
int | merge (NurbsMapping &nurbs, bool keepFailed=true, real eps=-1, bool attemptPeriodic=true) |
int | moveEndpoint (int end, const RealArray &endPoint, real tol=-1.) |
int | numberOfSubCurves () const |
int | numberOfSubCurvesInList () const |
int | parametricCurve (const NurbsMapping &nurbs, const bool &scaleParameterSpace=TRUE) |
int | parametricSplineSurface (int mu, int mv, RealArray &u, RealArray &v, RealArray &poly) |
int | plane (real pt1[3], real pt2[3], real pt3[3]) |
int | plot (GenericGraphicsInterface &gi, GraphicsParameters ¶meters, bool plotControlPoints=FALSE) |
virtual int | put (GenericDataBase &dir, const aString &name) const |
int | put (FILE *file, const FileFormat &fileFormat=xxww) |
int | put (const aString &fileName, const FileFormat &fileFormat=xxww) |
int | readFromIgesFile (IgesReader &iges, const int &item, bool normKnots=true) |
int | removeKnot (const int &index, const int &numberOfTimesToRemove, int &numberRemoved, const real &tol=100.*FLT_EPSILON) |
int | reparameterize (const real &uMin, const real &uMax, const real &vMin=0., const real &vMax=1.) |
int | rotate (const int &axis, const real &theta) |
int | scale (const real &scalex=1., const real &scaley=1., const real &scalez=1.) |
int | setDomainInterval (const real &r1Start=0., const real &r1End=1., const real &r2Start=0., const real &r2End=1., const real &r3Start=0., const real &r3End=1.) |
int | shift (const real &shiftx=0., const real &shifty=0., const real &shiftz=0.) |
int | specify (const int &m, const int &n, const int &p, const RealArray &uKnot, const RealArray &cPoint, const int &rangeDimension=3, bool normalizeTheKnots=true) |
int | specify (const int &n1, const int &n2, const int &p1, const int &p2, const RealArray &uKnot, const RealArray &vKnot, const RealArray &controlPoint, const int &rangeDimension=3, bool normalizeTheKnots=true) |
int | split (real uSplit, NurbsMapping &c1, NurbsMapping &c2, bool normalizePieces=true) |
int | splitSubCurve (int subCurveNumber, real rSplit) |
Split a sub-curve at a given position. | |
NurbsMapping & | subCurve (int subCurveNumber) |
NurbsMapping & | subCurveFromList (int subCurveNumber) |
int | toggleSubCurveVisibility (int sc) |
void | toggleSubCurveOriginal (int sc) |
int | transformKnots (const real &uScale, const real &uShift, const real &vScale=1., const real &vShift=0.) |
int | transformControlPoints (const RealArray &scale, const RealArray &shift) |
int | truncateToDomainBounds () |
virtual int | update (MappingInformation &mapInfo) |
Public Member Functions inherited from Mapping | |
Mapping (int domainDimension=3, int rangeDimension=3, mappingSpace domainSpace=parameterSpace, mappingSpace rangeSpace=cartesianSpace, coordinateSystem domainCoordinateSystem=cartesian, coordinateSystem rangeCoordinateSystem=cartesian) | |
Mapping (const Mapping &, const CopyType copyType=DEEP) | |
Mapping & | operator= (const Mapping &X) |
virtual | ~Mapping () |
void | reference (const Mapping &map) |
void | breakReference () |
virtual void | inverseMap (const realArray &x, realArray &r, realArray &rx=Overture::nullRealDistributedArray(), MappingParameters ¶ms=Overture::nullMappingParameters()) |
virtual void | mapC (const realArray &r, const realArray &x, const realArray &xr=Overture::nullRealDistributedArray(), MappingParameters ¶ms=Overture::nullMappingParameters()) |
virtual void | inverseMapC (const realArray &x, const realArray &r, const realArray &rx=Overture::nullRealDistributedArray(), MappingParameters ¶ms=Overture::nullMappingParameters()) |
virtual void | mapGrid (const realArray &r, realArray &x, realArray &xr=Overture::nullRealDistributedArray(), MappingParameters ¶ms=Overture::nullMappingParameters()) |
virtual int | intersects (Mapping &map2, const int &side1=-1, const int &axis1=-1, const int &side2=-1, const int &axis2=-1, const real &tol=0.) const |
virtual void | inverseMapGrid (const realArray &x, realArray &r, realArray &rx=Overture::nullRealDistributedArray(), MappingParameters ¶ms=Overture::nullMappingParameters()) |
virtual void | inverseMapS (const RealArray &x, RealArray &r, RealArray &rx=Overture::nullRealArray(), MappingParameters ¶ms=Overture::nullMappingParameters()) |
virtual void | mapCS (const RealArray &r, const RealArray &x, const RealArray &xr=Overture::nullRealArray(), MappingParameters ¶ms=Overture::nullMappingParameters()) |
virtual void | inverseMapCS (const RealArray &x, const RealArray &r, const RealArray &rx=Overture::nullRealArray(), MappingParameters ¶ms=Overture::nullMappingParameters()) |
virtual void | mapGridS (const RealArray &r, RealArray &x, RealArray &xr=Overture::nullRealArray(), MappingParameters ¶ms=Overture::nullMappingParameters()) |
virtual void | inverseMapGridS (const RealArray &x, RealArray &r, RealArray &rx=Overture::nullRealArray(), MappingParameters ¶ms=Overture::nullMappingParameters()) |
virtual int | projectS (RealArray &x, MappingProjectionParameters &mpParams) |
virtual real | sizeOf (FILE *file=NULL) const |
virtual bool | updateWithCommand (MappingInformation &mapInfo, const aString &command) |
virtual int | interactiveUpdate (GenericGraphicsInterface &gi) |
virtual int | project (realArray &x, MappingProjectionParameters &mpParams) |
int | checkMapping () |
void | reinitialize () |
int | determineResolution (int numberOfGridPoints[], bool collapsedEdge[2][3], real averageArclength[], real elementDensityTolerance=.05) |
void | secondOrderDerivative (const Index &I, const realArray &r, realArray &xrr, const int axis, const int &rAxis) |
int | findNearestGridPoint (RealArray &x, RealArray &r, RealArray &dista, RealArray &xa) |
Find the nearest grid point to each of a given set of points x(i,.) | |
real | getArcLength () |
basicInverseOptions | getBasicInverseOption () const |
int | getBoundaryCondition (const int side, const int axis) const |
virtual RealArray | getBoundingBox (const int &side=-1, const int &axis=-1) const |
virtual int | getBoundingBox (const IntegerArray &indexRange, const IntegerArray &gridIndexRange, RealArray &xBounds, bool local=false) const |
virtual int | getBoundingBox (const RealArray &rBounds, RealArray &xBounds) const |
const BoundingBox & | getBoundingBoxTree (const int &side, const int &axis) const |
int | getCoordinateEvaluationType (const coordinateSystem type) const |
Bound | getDomainBound (const int side, const int axis) const |
int | getDomainDimension () const |
coordinateSystem | getDomainCoordinateSystem () const |
Bound | getDomainCoordinateSystemBound (const int side, const int axis) const |
mappingSpace | getDomainSpace () const |
int | getGridDimensions (const int axis) const |
virtual const RealArray & | getGridSerial (MappingParameters ¶ms=Overture::nullMappingParameters(), bool includeGhost=false) |
int | getID () const |
int | getInvertible () const |
periodicType | getIsPeriodic (const int axis) const |
mappingCoordinateSystem | getMappingCoordinateSystem () const |
aString | getName (const mappingItemName item) const |
int | getGridIndexRange (int side, int axis) |
int | getNumberOfGhostPoints (int side, int axis) |
real | getParameter (const MappingParameters::realParameter ¶m) const |
int | getParameter (const MappingParameters::intParameter ¶m) const |
real | getPeriodVector (const int axis, const int direction) const |
Bound | getRangeBound (const int side, const int axis) const |
coordinateSystem | getRangeCoordinateSystem () const |
Bound | getRangeCoordinateSystemBound (const int side, const int axis) const |
int | getRangeDimension () const |
mappingSpace | getRangeSpace () const |
int | getShare (const int side, const int axis) const |
real | getSignForJacobian () const |
topologyEnum | getTopology (const int side, const int axis) const |
coordinateSingularity | getTypeOfCoordinateSingularity (const int side, const int axis) const |
bool | gridIsValid () const |
int | hasACoordinateSingularity () const |
intArray & | topologyMask () |
void | setArcLength (real length) |
virtual void | setBasicInverseOption (const basicInverseOptions option) |
virtual void | setBoundaryCondition (const int side, const int axis, const int bc) |
virtual void | setCoordinateEvaluationType (const coordinateSystem type, const int trueOrFalse) |
virtual void | setDomainBound (const int side, const int axis, const Bound domainBound) |
virtual void | setDomainCoordinateSystem (const coordinateSystem domainCoordinateSystem) |
virtual void | setDomainCoordinateSystemBound (const int side, const int axis, const Bound domainCoordinateSystemBound) |
virtual void | setDomainDimension (const int domainDimension) |
virtual void | setDomainSpace (const mappingSpace domainSpace) |
virtual void | setGrid (realArray &grid, IntegerArray &gridIndexRange) |
virtual void | setGridDimensions (const int axis, const int dim) |
virtual void | setInvertible (const int invertible) |
void | setID () |
virtual void | setIsPeriodic (const int axis, const periodicType isPeriodic) |
virtual void | setMappingCoordinateSystem (const mappingCoordinateSystem mappingCoordinateSystem0) |
virtual void | setName (const mappingItemName item, const aString &name) |
void | setGridIndexRange (int side, int axis, int num) |
void | setNumberOfGhostPoints (int side, int axis, int numGhost) |
virtual void | setParameter (const MappingParameters::realParameter ¶m, const real &value) |
virtual void | setParameter (const MappingParameters::intParameter ¶m, const int &value) |
void | setPartition (Partitioning_Type &partition) |
virtual void | setPeriodVector (const int axis, const int direction, const real periodVectorComponent) |
virtual void | setRangeBound (const int side, const int axis, const Bound rangeBound) |
virtual void | setRangeCoordinateSystem (const coordinateSystem rangeCoordinateSystem) |
virtual void | setRangeCoordinateSystemBound (const int side, const int axis, const Bound rangeCoordinateSystemBound) |
virtual void | setRangeDimension (const int rangeDimension) |
virtual void | setRangeSpace (const mappingSpace rangeSpace) |
virtual void | setShare (const int side, const int axis, const int share) |
void | setSignForJacobian (const real signForJac) |
virtual void | setTopology (const int side, const int axis, const topologyEnum topo) |
virtual void | setTypeOfCoordinateSingularity (const int side, const int axis, const coordinateSingularity) |
bool | usesDistributedInverse () const |
bool | usesDistributedMap () const |
virtual void | useRobustInverse (const bool trueOrFalse=TRUE) |
bool | usingRobustInverse () const |
Return true if the robust inverse is used. | |
virtual int | outside (const realArray &x) |
virtual int | setNumberOfGhostLines (IndexRangeType &numberOfGhostLinesNew) |
void | setNumberOfDistributedGhostLines (int numGhost) |
void | periodicShift (realArray &r, const Index &I) |
Index | getIndex (const realArray &r, realArray &x, const realArray &xr, int &base, int &bound, int &computeMap, int &computeMapDerivative) |
Public Member Functions inherited from ReferenceCounting | |
ReferenceCounting () | |
ReferenceCounting (const ReferenceCounting &x, const CopyType ct=DEEP) | |
virtual | ~ReferenceCounting () |
Integer | incrementReferenceCount () |
Integer | decrementReferenceCount () |
Integer | getReferenceCount () const |
Logical | uncountedReferencesMayExist () |
Integer | getGlobalID () const |
void | setGlobalID (int id) |
virtual void | consistencyCheck () const |
Public Attributes | |
bool | use_kk_nrb_eval |
Public Attributes inherited from Mapping | |
int | computeMap |
int | computeMapDerivative |
int | base |
int | bound |
real | signForJacobian |
ApproximateGlobalInverse * | approximateGlobalInverse |
ExactLocalInverse * | exactLocalInverse |
DistributedInverse * | distributedInverse |
Static Public Attributes | |
static bool | useScalarEvaluation =true |
Static Public Attributes inherited from Mapping | |
static int | useInitialGuessForInverse =TRUE |
static int | debug =0 |
static FILE * | debugFile =NULL |
static FILE * | pDebugFile =NULL |
static const real | bogus =10. |
Protected Member Functions | |
real | angle (const RealArray &p0, const RealArray &p1, const RealArray &p2) const |
void | initialize (bool setMappingHasChanged=true) |
int | normalizeKnots () |
int | makeOneArc (const RealArray &p0, const RealArray &t0, const RealArray &p2, const RealArray &t2, const RealArray &p, RealArray &p1, real &w1) const |
int | splitArc (const RealArray &p0, const RealArray &p1, const real &w1, const RealArray &p2, RealArray &q1, RealArray &s, RealArray &r1, real &wqr) const |
int | intersect3DLines (const RealArray &p0, const RealArray &t0, const RealArray &p1, const RealArray &t1, real &alpha0, real &alpha1, RealArray &p2) const |
real | distance4D (const RealArray &x, const RealArray &y) |
virtual void | mapVector (const RealArray &r, RealArray &x, RealArray &xr=Overture::nullRealArray(), MappingParameters ¶ms=Overture::nullMappingParameters()) |
void | setBounds () |
void | privateInterpolate (const RealArray &x, const RealArray *uBar) |
Protected Member Functions inherited from Mapping | |
int | buildMappingParametersDialog (DialogData &dialog) |
int | getMappingParametersOption (const aString &answer, DialogData &dialog, GenericGraphicsInterface &gi) |
: Look for a change to one of the mapping parameters. | |
int | updateMappingParametersDialog (DialogData &dialog) |
void | initializePartition () |
int | mappingHasChanged () |
void | setGridIsValid () |
void | setDefaultMappingBounds (const mappingSpace ms, Bound mappingBound[3][2]) |
void | setDefaultCoordinateSystemBounds (const coordinateSystem cs, Bound csBound[3][2]) |
int | validSide (const int side) const |
int | validAxis (const int axis) const |
void | mappingError (const aString &subName, const int side, const int axis) const |
NurbsMapping::NurbsMapping | ( | ) |
References Mapping::inverseIsDistributed, Mapping::mappingName, Mapping::notPeriodic, Mapping::setName(), and use_kk_nrb_eval.
Referenced by addSubCurve(), buildSubCurves(), forcedMerge(), generalCylinder(), get(), joinSubCurves(), make(), operator=(), and splitSubCurve().
NurbsMapping::NurbsMapping | ( | const int & | domainDimension, |
const int & | rangeDimension_ | ||
) |
References axis1, axis2, Mapping::domainDimension, i2, initialize(), Mapping::inverseIsDistributed, Mapping::mappingName, Mapping::notPeriodic, OV_ABORT, printF(), Mapping::rangeDimension, Mapping::setDomainDimension(), Mapping::setGridDimensions(), Mapping::setName(), Mapping::setRangeDimension(), and use_kk_nrb_eval.
NurbsMapping::NurbsMapping | ( | const NurbsMapping & | map, |
const CopyType | copyType = DEEP |
||
) |
NurbsMapping::~NurbsMapping | ( | ) |
References assert, c, Mapping::debug, ReferenceCounting::decrementReferenceCount(), Mapping::getName(), and Mapping::mappingName.
int NurbsMapping::addSubCurve | ( | NurbsMapping & | nurbs | ) |
References Mapping::getName(), ReferenceCounting::incrementReferenceCount(), Mapping::mappingName, NULL, NurbsMapping(), Mapping::setName(), and toggleSubCurveVisibility().
Referenced by TrimmedMapping::assembleSubCurves(), TrimmedMappingBuilder::buildTrimmedMapping(), MappingsFromCAD::createManifoldSolidBRepObject(), TrimmedMapping::editNurbsTrimCurve(), IntersectionMapping::intersectWithCompositeSurface(), merge(), TrimmedMapping::snapCurvesToIntersection(), and TrimmedMapping::update().
|
virtual |
Reimplemented from Mapping.
References basicInverseS(), and getLocalArrayWithGhostBoundaries().
|
virtual |
Reimplemented from Mapping.
References Mapping::approximateGlobalInverse, Mapping::canDoNothing, Mapping::canInvert, MappingParameters::computeGlobalInverse, Mapping::exactLocalInverse, FALSE, ApproximateGlobalInverse::inverse(), ExactLocalInverse::inverse(), Mapping::setBasicInverseOption(), and TRUE.
Referenced by basicInverse().
int NurbsMapping::binomial | ( | const int | m, |
const int | n | ||
) |
Referenced by elevateDegree().
int NurbsMapping::buildComponentCurve | ( | NurbsMapping & | curve, |
int | component = 0 |
||
) |
References Mapping::domainDimension, Mapping::rangeDimension, and specify().
int NurbsMapping::buildCurveOnSurface | ( | NurbsMapping & | curve, |
real | r0, | ||
real | r1 = -1. |
||
) |
References Mapping::domainDimension, fabs(), i2, knot, max(), min(), Mapping::rangeDimension, REAL_EPSILON, and specify().
int NurbsMapping::buildSubCurves | ( | real | angle = 60. | ) |
References buildSubCurves(), c, cc, ReferenceCounting::decrementReferenceCount(), Mapping::domainDimension, ia, ReferenceCounting::incrementReferenceCount(), knot, map(), max(), numberOfSubCurves(), numberOfSubCurvesInList(), NurbsMapping(), Pi, Mapping::rangeDimension, REAL_MIN, specify(), split(), SQRT, and subCurve().
Referenced by CompositeTopology::buildEdgeCurves(), and buildSubCurves().
int NurbsMapping::circle | ( | RealArray & | o, |
RealArray & | x, | ||
RealArray & | y, | ||
real | r, | ||
real | startAngle = 0. , |
||
real | endAngle = 1. |
||
) |
References angle(), assert, axis1, Mapping::domainDimension, fabs(), Mapping::functionPeriodic, initialize(), intersect3DLines(), Pi, Mapping::rangeDimension, REAL_EPSILON, REAL_MIN, Mapping::setIsPeriodic(), and twoPi.
Referenced by createSurfaceForAFace(), readFromIgesFile(), MappingsFromCAD::readOneCurve(), and update().
int NurbsMapping::conic | ( | const RealArray & | p0, |
const RealArray & | t0, | ||
const RealArray & | p2, | ||
const RealArray & | t2, | ||
const RealArray & | p | ||
) |
References angle(), Mapping::domainDimension, initialize(), makeOneArc(), Pi, Mapping::rangeDimension, s, and splitArc().
Referenced by conic(), MappingsFromCAD::readOneCurve(), and update().
int NurbsMapping::deleteSubCurve | ( | int | sc | ) |
References ReferenceCounting::decrementReferenceCount(), and NULL.
Referenced by IntersectionMapping::intersectWithCompositeSurface(), joinSubCurves(), and merge().
|
virtual |
Reimplemented from Mapping.
References Mapping::display(), Mapping::domainDimension, numberOfSubCurves(), and Mapping::rangeDimension.
Referenced by merge(), readFromIgesFile(), and update().
References Mapping::rangeDimension.
Referenced by removeKnot().
int NurbsMapping::elevateDegree | ( | const int | increment | ) |
References binomial(), initialize(), max(), min(), r, R, Mapping::rangeDimension, Mapping::reinitialize(), and s.
int NurbsMapping::forcedMerge | ( | NurbsMapping & | nurbs | ) |
int NurbsMapping::forcePeriodic | ( | ) |
References axis1, ReferenceCounting::decrementReferenceCount(), Mapping::domainDimension, Mapping::getClassName(), getControlPoints(), Mapping::getDomainDimension(), Mapping::getIsPeriodic(), getKnots(), getNumberOfControlPoints(), getNumberOfKnots(), getOrder(), Mapping::getRangeDimension(), ReferenceCounting::incrementReferenceCount(), initialize(), interpolate(), NULL, NurbsMapping(), Mapping::rangeDimension, Mapping::setIsPeriodic(), and x.
Referenced by MappingsFromCAD::createSurface(), createSurfaceForAFace(), and update().
References axis1, ReferenceCounting::decrementReferenceCount(), Mapping::domainDimension, Mapping::functionPeriodic, Mapping::getClassName(), getControlPoints(), Mapping::getDomainDimension(), Mapping::getIsPeriodic(), getKnots(), getNumberOfControlPoints(), getNumberOfKnots(), getOrder(), Mapping::getRangeDimension(), ReferenceCounting::incrementReferenceCount(), initialize(), interpolate(), NULL, NurbsMapping(), Mapping::rangeDimension, Mapping::setIsPeriodic(), and x.
|
virtual |
Reimplemented from Mapping.
References aString, Mapping::debug, GenericDataBase::find(), get(), GenericDataBase::get(), Mapping::get(), ReferenceCounting::incrementReferenceCount(), initialize(), NurbsMapping(), sPrintF(), and GenericDataBase::virtualConstructor().
Referenced by CurveSegment::get(), CompositeTopology::get(), and get().
int NurbsMapping::get | ( | FILE * | file, |
const FileFormat & | fileFormat = xxww |
||
) |
References assert, aString, axis1, axis2, cheryl, Mapping::domainDimension, fScanF(), ftor(), i2, initialize(), knot, Mapping::mappingHasChanged(), max(), Mapping::rangeDimension, Mapping::reinitialize(), Mapping::setGridDimensions(), xwxw, and xxww.
int NurbsMapping::get | ( | const aString & | fileName, |
const FileFormat & | fileFormat = xxww |
||
) |
References Mapping::getName(), Mapping::mappingName, NULL, and Mapping::setName().
|
inlinevirtual |
Reimplemented from Mapping.
Referenced by MappingsFromCAD::createBoundedSurface(), and operator=().
const RealArray & NurbsMapping::getControlPoints | ( | ) | const |
Referenced by generalCylinder(), MappingsFromCAD::scaleCurve(), and split().
|
virtual |
Reimplemented from Mapping.
References Mapping::getGrid().
Referenced by CompositeTopology::buildEdgeCurveBoundaryNodes(), CompositeTopology::buildEdgeCurves(), CompositeTopology::buildEdgeSegment(), CompositeTopology::buildSubSurfaceTriangulation(), MappingsFromCAD::createCurveOnAParametricSurface(), CompositeTopology::findBoundaryCurves(), CompositeTopology::getEdgeFromEndPoints(), CompositeTopology::splitEdge(), and update().
const RealArray & NurbsMapping::getKnots | ( | int | direction = 0 | ) | const |
References direction().
Referenced by generalCylinder(), split(), and TrimmedMapping::triangulate().
int NurbsMapping::getNumberOfControlPoints | ( | int | axis = 0 | ) | const |
Referenced by generalCylinder(), and split().
int NurbsMapping::getNumberOfKnots | ( | int | axis = 0 | ) | const |
Referenced by generalCylinder(), mapS(), and split().
int NurbsMapping::getOrder | ( | int | axis = 0 | ) | const |
Referenced by CompositeTopology::buildEdgeCurves(), generalCylinder(), main(), and mapS().
real NurbsMapping::getOriginalDomainBound | ( | int | side, |
int | axis | ||
) |
References assert.
Referenced by MappingBuilder::buildSurfacePatch().
|
protected |
References axis1, axis2, Mapping::debug, Mapping::domainDimension, dr, fabs(), Mapping::functionPeriodic, Mapping::getIsPeriodic(), Mapping::mappingHasChanged(), mapS(), max(), maximumOrder, min(), Mapping::rangeDimension, REAL_EPSILON, REAL_MIN, setBounds(), and Mapping::setIsPeriodic().
Referenced by circle(), conic(), elevateDegree(), forcePeriodic(), generalCylinder(), get(), insertKnot(), interpolate(), interpolateSurface(), interpolateVolume(), lowerRangeDimension(), mapS(), matrixTransform(), merge(), moveEndpoint(), NurbsMapping(), operator=(), parametricSplineSurface(), plane(), readFromIgesFile(), removeKnot(), reparameterize(), specify(), transformKnots(), truncateToDomainBounds(), and update().
int NurbsMapping::insertKnot | ( | const real & | uBar, |
const int & | numberOfTimesToInsert = 1 |
||
) |
References Mapping::debug, Mapping::domainDimension, initialize(), knot, Mapping::rangeDimension, Mapping::reinitialize(), and s.
Referenced by split().
void NurbsMapping::interpolate | ( | Mapping & | map, |
int | degree = 3 , |
||
ParameterizationTypeEnum | parameterizationType = parameterizeByChordLength , |
||
int | numberOfGhostPoints = 0 , |
||
int * | numPointsToInterpolate = NULL |
||
) |
References Overture::abort(), axis1, axis2, axis3, dr, Mapping::getBoundaryCondition(), Mapping::getDomainDimension(), Mapping::getGrid(), Mapping::getGridDimensions(), Mapping::getGridSerial(), Mapping::getIsPeriodic(), Mapping::getName(), Mapping::getRangeDimension(), Mapping::getShare(), i2, Mapping::mapGrid(), Mapping::mapGridS(), Mapping::mappingName, max(), NULL, Overture::nullRealArray(), Overture::nullRealDistributedArray(), printF(), r, Mapping::setBoundaryCondition(), Mapping::setGridDimensions(), Mapping::setIsPeriodic(), Mapping::setShare(), and Mapping::usesDistributedInverse().
Referenced by UserDefinedMapping1::bladeSetup(), buildParameterCurveFromSpaceCurve(), TrimmedMappingBuilder::constructOuterBoundaryCurves(), MappingsFromCAD::createCurveOnAParametricSurface(), IntersectionMapping::determineIntersection(), generalCylinder(), main(), LoftedSurfaceMapping::profileSetup(), and update().
void NurbsMapping::interpolate | ( | const RealArray & | x, |
const int & | option = 0 , |
||
RealArray & | parameterization = Overture::nullRealArray() , |
||
int | degree = 3 , |
||
ParameterizationTypeEnum | parameterizationType = parameterizeByChordLength , |
||
int | numberOfGhostPoints = 0 |
||
) |
References axis1, GECO, GESL, initialize(), interpolateSurface(), interpolateVolume(), max(), min(), parameterizeByIndex, r, R, Mapping::rangeDimension, Mapping::setDomainDimension(), Mapping::setGridDimensions(), SQR, and SQRT.
int NurbsMapping::interpolateLoftedSurface | ( | std::vector< Mapping * > & | , |
int | degree1 = 3 , |
||
int | degree2 = 3 , |
||
ParameterizationTypeEnum | parameterizationType = parameterizeByChordLength , |
||
int | numberOfGhostPoints = 0 |
||
) |
References c, Mapping::getDomainDimension(), Mapping::getGrid(), Mapping::getGridDimensions(), Mapping::getRangeDimension(), interpolateSurface(), map(), max(), printF(), and Mapping::setGridDimensions().
Referenced by update().
void NurbsMapping::interpolateSurface | ( | const RealArray & | x, |
int | degree = 3 , |
||
ParameterizationTypeEnum | parameterizationType = parameterizeByChordLength , |
||
int | numberOfGhostPoints = 0 , |
||
int | degree2 = 3 |
||
) |
References axis1, axis2, GECO, GESL, initialize(), max(), min(), parameterizeByIndex, printF(), q, r, R, Mapping::rangeDimension, Mapping::setDomainDimension(), Mapping::setGridDimensions(), SQR, and SQRT.
Referenced by interpolate(), and interpolateLoftedSurface().
void NurbsMapping::interpolateVolume | ( | const RealArray & | x, |
int | degree = 3 , |
||
ParameterizationTypeEnum | parameterizationType = parameterizeByChordLength , |
||
int | numberOfGhostPoints = 0 |
||
) |
References Overture::abort(), assert, axis1, axis2, axis3, Mapping::domainDimension, GECO, GESL, Mapping::getGridDimensions(), ParallelUtility::getMaxValue(), ParallelUtility::getMinValue(), initialize(), max(), min(), parameterizeByIndex, printF(), q, r, R, Mapping::rangeDimension, ArraySimple< T >::resize(), Mapping::setDomainDimension(), Mapping::setGridDimensions(), SQR, and SQRT.
Referenced by interpolate().
|
protected |
References fabs(), and REAL_EPSILON.
Referenced by circle().
|
inline |
Referenced by PlotIt::plotNurbsMapping().
bool NurbsMapping::isSubCurveHidden | ( | int | sc | ) |
Referenced by TrimmedMapping::assembleSubCurves(), TrimmedMapping::editNurbsTrimCurve(), main(), and update().
bool NurbsMapping::isSubCurveOriginal | ( | int | sc | ) |
int NurbsMapping::joinSubCurves | ( | int | subCurveNumber | ) |
Join two consequtive sub-curves and modify the subcurve list.
subCurveNumber | (input): Join sub-curve subCurveNumber and subCurveNumber+1. The new sub-curve will be ordered to be subCurveNumber. In the case subCurveNumber == lastVisible, it will joined with curve 0 and the new curve will get number 0. Also, if subCurveNumber = numberOfCurves-1, the curve will get joined to curve lastVisible+1, and the new curve will get number lastVisible+1 |
References ReferenceCounting::decrementReferenceCount(), ReferenceCounting::incrementReferenceCount(), merge(), NULL, NurbsMapping(), and subCurve().
Referenced by CompositeTopology::joinEdgeCurves().
int NurbsMapping::joinSubCurves | ( | int | subCurve1, |
int | subCurve2 | ||
) |
Join two sub-curves (merge into one)
This function will attempt to join subCurve1 to subCurve2 and if successful then delete subCurve2.
/param subCurve1, subCurve2 (input) : attempt to join these two subcurves. /return : 0 for success.
References deleteSubCurve(), and merge().
References createLineAsNurbs().
Referenced by TrimmedMapping::editNurbsTrimCurve(), readFromIgesFile(), and update().
void NurbsMapping::lowerRangeDimension | ( | ) |
References Mapping::domainDimension, initialize(), Mapping::rangeDimension, and Mapping::setRangeDimension().
Reimplemented from Mapping.
References NurbsMapping().
|
protected |
Referenced by conic().
|
virtual |
Reimplemented from Mapping.
References getLocalArrayWithGhostBoundaries(), and mapS().
Referenced by buildParameterCurveFromSpaceCurve(), buildSubCurves(), CompositeTopology::buildSubSurfaceTriangulation(), HyperbolicMapping::createCurveOnSurface(), MappingsFromCAD::createSurface(), IntersectionMapping::determineIntersection(), TrimmedMapping::editNurbsTrimCurve(), CompositeTopology::findBoundaryCurves(), CompositeTopology::getNearestEdge(), interpolateLoftedSurface(), IntersectionMapping::intersectWithCompositeSurface(), main(), CompositeTopology::merge(), merge(), NurbsMapping(), readFromIgesFile(), MappingsFromCAD::readOneCurve(), TrimmedMapping::snapCurvesToIntersection(), CompositeTopology::splitAndMergeEdgeCurves(), TrimmedMapping::triangulate(), and update().
|
virtual |
Reimplemented from Mapping.
References Overture::abort(), assert, axis1, axis2, axis3, Mapping::base, Mapping::bound, Mapping::cartesian, Mapping::computeMap, Mapping::computeMapDerivative, MappingParameters::coordinateType, CP, Mapping::domainDimension, fmod(), Mapping::functionPeriodic, getCPU(), Mapping::getIndex(), getNumberOfKnots(), getOrder(), i2, initialize(), Mapping::inverseIsDistributed, mapVector(), max(), maximumOrder, NURBSEVAL, nurbsEvalTime, pow(), ArraySimpleFixed< T, d1, d2, d3, d4, d5 >::ptr(), ArraySimple< T >::ptr(), R, Mapping::rangeDimension, Mapping::reinitialize(), ArraySimple< T >::resize(), RR, UDERS, use_kk_nrb_eval, useScalarEvaluation, UTEMP, VDERS, VTEMP, WDERS, X, and XR.
Referenced by TrimmedMapping::editNurbsTrimCurve(), forcedMerge(), initialize(), map(), UserDefinedMapping1::mapS(), and merge().
|
protectedvirtual |
References Mapping::base, Mapping::bound, Mapping::cartesian, Mapping::computeMap, Mapping::computeMapDerivative, MappingParameters::coordinateType, Mapping::domainDimension, fmod(), ForI, ForR, ForRw, Mapping::functionPeriodic, Mapping::getIndex(), i2, max(), r, R, and Mapping::rangeDimension.
Referenced by mapS().
int NurbsMapping::matrixTransform | ( | const RealArray & | r | ) |
References Mapping::domainDimension, initialize(), Mapping::mappingHasChanged(), max(), Mapping::rangeDimension, Mapping::reinitialize(), and setBounds().
Referenced by MappingsFromCAD::createSurface(), readFromIgesFile(), and MappingsFromCAD::readOneCurve().
int NurbsMapping::merge | ( | NurbsMapping & | nurbs, |
bool | keepFailed = true , |
||
real | eps = -1 , |
||
bool | attemptPeriodic = true |
||
) |
References addSubCurve(), axis1, c, Mapping::debug, deleteSubCurve(), display(), Mapping::domainDimension, elevateDegree(), End, fabs(), Mapping::functionPeriodic, Mapping::getArcLength(), getCPU(), Mapping::getDomainDimension(), Mapping::getGridDimensions(), Mapping::getRangeDimension(), initialize(), isSubCurveOriginal(), Mapping::map(), map(), Mapping::mappingHasChanged(), mapS(), max(), min(), moveEndpoint(), Mapping::notPeriodic, numberOfSubCurves(), r, R, Mapping::rangeDimension, REAL_EPSILON, Mapping::reinitialize(), removeKnot(), reparameterize(), Mapping::setArcLength(), Mapping::setGridDimensions(), Mapping::setIsPeriodic(), split(), SQR, SQRT, subCurve(), timeToMergeNurbs, timeToMergeNurbsAddSubCurve, timeToMergeNurbsArcLength, timeToMergeNurbsElevateDegree, timeToMergeNurbsOther, toggleSubCurveOriginal(), and x.
Referenced by TrimmedMapping::assembleSubCurves(), constructOuterBoundaryCurve(), TrimmedMappingBuilder::constructOuterBoundaryCurves(), MappingsFromCAD::createBoundaryEntity(), MappingsFromCAD::createCurveOnAParametricSurface(), MappingsFromCAD::createManifoldSolidBRepObject(), IntersectionMapping::determineIntersection(), TrimmedMapping::editNurbsTrimCurve(), CompositeTopology::findBoundaryCurves(), forcedMerge(), IntersectionMapping::intersectWithCompositeSurface(), CompositeTopology::joinEdgeCurves(), joinSubCurves(), and update().
References Mapping::domainDimension, End, fabs(), initialize(), Mapping::inverseMap(), pow(), r, Mapping::rangeDimension, REAL_MIN, split(), Start, and x.
Referenced by EdgeInfo::adjustOneSegmentEndPoints(), CompositeTopology::buildEdgeCurves(), TrimmedMapping::editNurbsTrimCurve(), forcePeriodic(), merge(), TrimmedMapping::snapCurvesToIntersection(), and CompositeTopology::splitEdge().
|
protected |
References Mapping::domainDimension.
Referenced by parametricSplineSurface(), readFromIgesFile(), specify(), split(), and truncateToDomainBounds().
int NurbsMapping::numberOfSubCurves | ( | ) | const |
Referenced by TrimmedMapping::assembleSubCurves(), MappingBuilder::buildCurveOnSurface(), CompositeTopology::buildEdgeCurves(), buildEdgeCurves(), buildSubCurves(), TrimmedMappingBuilder::buildTrimmedMapping(), HyperbolicMapping::createCurveOnSurface(), display(), TrimmedMapping::editNurbsTrimCurve(), IntersectionMapping::intersectWithCompositeSurface(), CompositeTopology::joinEdgeCurves(), main(), merge(), PlotIt::plotNurbsMapping(), CurveSegment::put(), TrimmedMapping::reportTrimCurveInfo(), CompositeTopology::splitEdge(), TrimmedMapping::triangulate(), TrimmedMapping::update(), update(), TrimmedMapping::validateTrimming(), and TrimmedMapping::verifyTrimCurve().
int NurbsMapping::numberOfSubCurvesInList | ( | ) | const |
NurbsMapping & NurbsMapping::operator= | ( | const NurbsMapping & | X0 | ) |
int NurbsMapping::parametricCurve | ( | const NurbsMapping & | nurbs, |
const bool & | scaleParameterSpace = TRUE |
||
) |
References assert, Mapping::debug, Mapping::domainDimension, Mapping::getDomainDimension(), Mapping::mappingHasChanged(), Mapping::parameterSpace, Mapping::rangeDimension, Mapping::reinitialize(), setBounds(), Mapping::setRangeDimension(), and Mapping::setRangeSpace().
Referenced by MappingsFromCAD::createBoundedSurface(), MappingsFromCAD::createCurveOnAParametricSurface(), and MappingsFromCAD::scaleCurve().
int NurbsMapping::parametricSplineSurface | ( | int | mu, |
int | mv, | ||
RealArray & | u, | ||
RealArray & | v, | ||
RealArray & | poly | ||
) |
References assert, Mapping::domainDimension, initialize(), normalizeKnots(), poly, and Mapping::rangeDimension.
Referenced by readFromIgesFile().
References Mapping::domainDimension, initialize(), and Mapping::rangeDimension.
Referenced by createSurfaceForAFace().
int NurbsMapping::plot | ( | GenericGraphicsInterface & | gi, |
GraphicsParameters & | parameters, | ||
bool | plotControlPoints = FALSE |
||
) |
References aString, Mapping::domainDimension, GraphicsParameters::get(), GI_MAPPING_COLOUR, GI_PLOT_SHADED_MAPPING_BOUNDARIES, GI_USE_PLOT_BOUNDS, i2, PlotIt::plot(), GenericGraphicsInterface::plotPoints(), Mapping::rangeDimension, GraphicsParameters::set(), and DataPointMapping::setDataPoints().
Referenced by TrimmedMapping::editNurbsTrimCurve(), and update().
|
virtual |
Reimplemented from Mapping.
References aString, GenericDataBase::create(), GenericDataBase::put(), put(), Mapping::put(), sPrintF(), and GenericDataBase::virtualConstructor().
Referenced by CurveSegment::put(), CompositeTopology::put(), put(), readFromIgesFile(), and update().
int NurbsMapping::put | ( | FILE * | file, |
const FileFormat & | fileFormat = xxww |
||
) |
References Mapping::domainDimension, i2, knot, Mapping::rangeDimension, and xxww.
int NurbsMapping::put | ( | const aString & | fileName, |
const FileFormat & | fileFormat = xxww |
||
) |
int NurbsMapping::readFromIgesFile | ( | IgesReader & | iges, |
const int & | item, | ||
bool | normKnots = true |
||
) |
References atan2(), axis1, axis2, c, circle(), IgesReader::circularArc, Mapping::debug, display(), IgesReader::entity(), fabs(), IgesReader::formData(), Mapping::functionPeriodic, Mapping::getIsPeriodic(), Mapping::getName(), MappingsFromCAD::getTransformationMatrix(), initialize(), IgesReader::line, line(), map(), Mapping::mappingName, IgesReader::matrix(), matrixTransform(), max(), min(), normalizeKnots(), Mapping::notPeriodic, IgesReader::parametricSplineCurve, IgesReader::parametricSplineSurface, parametricSplineSurface(), Pi, poly, pow(), put(), r, R, Mapping::rangeDimension, IgesReader::rationalBSplineCurve, IgesReader::rationalBSplineSurface, IgesReader::readData(), REAL_EPSILON, Mapping::reinitialize(), removeKnot(), IgesReader::sequenceToItem(), Mapping::setDomainDimension(), Mapping::setGridDimensions(), Mapping::setIsPeriodic(), Mapping::setRangeDimension(), shift(), SQR, SQRT, truncateToDomainBounds(), twoPi, and x.
Referenced by MappingsFromCAD::createManifoldSolidBRepObject(), and MappingsFromCAD::readOneCurveAsNURBS().
int NurbsMapping::removeKnot | ( | const int & | index, |
const int & | numberOfTimesToRemove, | ||
int & | numberRemoved, | ||
const real & | tol = 100.*FLT_EPSILON |
||
) |
References Mapping::debug, distance4D(), Mapping::domainDimension, initialize(), and Mapping::rangeDimension.
Referenced by merge(), and readFromIgesFile().
int NurbsMapping::reparameterize | ( | const real & | uMin, |
const real & | uMax, | ||
const real & | vMin = 0. , |
||
const real & | vMax = 1. |
||
) |
References axis1, axis2, Mapping::debug, Mapping::domainDimension, fabs(), Mapping::getIsPeriodic(), initialize(), Mapping::notPeriodic, R, Mapping::rangeDimension, REAL_EPSILON, Mapping::reinitialize(), and Mapping::setIsPeriodic().
Referenced by MappingsFromCAD::createBoundaryEntity(), TrimmedMapping::editNurbsTrimCurve(), forcedMerge(), merge(), and update().
int NurbsMapping::rotate | ( | const int & | axis, |
const real & | theta | ||
) |
References axis3, Mapping::domainDimension, i2, Mapping::mappingHasChanged(), Mapping::rangeDimension, Mapping::reinitialize(), and setBounds().
Referenced by UserDefinedMapping1::bladeSetup(), and update().
int NurbsMapping::scale | ( | const real & | scalex = 1. , |
const real & | scaley = 1. , |
||
const real & | scalez = 1. |
||
) |
References Mapping::domainDimension, Mapping::mappingHasChanged(), Mapping::rangeDimension, Mapping::reinitialize(), and setBounds().
Referenced by MappingsFromCAD::scaleCurve(), and update().
|
protected |
References Mapping::domainDimension, End, max(), min(), Mapping::rangeDimension, Mapping::setRangeBound(), and Start.
Referenced by initialize(), matrixTransform(), parametricCurve(), rotate(), scale(), and shift().
int NurbsMapping::setDomainInterval | ( | const real & | r1Start = 0. , |
const real & | r1End = 1. , |
||
const real & | r2Start = 0. , |
||
const real & | r2End = 1. , |
||
const real & | r3Start = 0. , |
||
const real & | r3End = 1. |
||
) |
References Mapping::domainDimension, fabs(), Mapping::getIsPeriodic(), Mapping::notPeriodic, ra, and Mapping::setIsPeriodic().
Referenced by MappingBuilder::buildSurfacePatch(), IntersectionMapping::intersectWithCompositeSurface(), and update().
int NurbsMapping::shift | ( | const real & | shiftx = 0. , |
const real & | shifty = 0. , |
||
const real & | shiftz = 0. |
||
) |
References Mapping::domainDimension, Mapping::mappingHasChanged(), Mapping::rangeDimension, Mapping::reinitialize(), and setBounds().
Referenced by MappingsFromCAD::createSurface(), TrimmedMapping::editNurbsTrimCurve(), readFromIgesFile(), MappingsFromCAD::readOneCurve(), MappingsFromCAD::scaleCurve(), and update().
int NurbsMapping::specify | ( | const int & | m, |
const int & | n, | ||
const int & | p, | ||
const RealArray & | uKnot, | ||
const RealArray & | cPoint, | ||
const int & | rangeDimension = 3 , |
||
bool | normalizeTheKnots = true |
||
) |
References axis1, initialize(), max(), normalizeKnots(), Mapping::rangeDimension, Mapping::setDomainDimension(), Mapping::setGridDimensions(), and Mapping::setRangeDimension().
Referenced by buildComponentCurve(), buildCurveOnSurface(), buildSubCurves(), constructOuterBoundaryCurve(), TrimmedMappingBuilder::constructOuterBoundaryCurves(), createLineAsNurbs(), and split().
int NurbsMapping::split | ( | real | uSplit, |
NurbsMapping & | c1, | ||
NurbsMapping & | c2, | ||
bool | normalizePieces = true |
||
) |
References assert, axis1, c, Mapping::debug, Mapping::domainDimension, getControlPoints(), getKnots(), getNumberOfControlPoints(), getNumberOfKnots(), Mapping::getRangeDimension(), insertKnot(), max(), normalizeKnots(), Mapping::rangeDimension, REAL_EPSILON, REAL_MIN, Mapping::setGridDimensions(), and specify().
Referenced by buildSubCurves(), TrimmedMapping::editNurbsTrimCurve(), IntersectionMapping::intersectWithCompositeSurface(), merge(), moveEndpoint(), CompositeTopology::splitEdge(), splitSubCurve(), and truncateToDomainBounds().
int NurbsMapping::splitSubCurve | ( | int | subCurveNumber, |
real | rSplit | ||
) |
Split a sub-curve at a given position.
subCurveNumber | (input): Split this sub-curve |
uSplit | (input): split sub-curve at this parameter value. |
References assert, ReferenceCounting::decrementReferenceCount(), ReferenceCounting::incrementReferenceCount(), NULL, NurbsMapping(), split(), and subCurve().
Referenced by CompositeTopology::splitEdge().
NurbsMapping & NurbsMapping::subCurve | ( | int | subCurveNumber | ) |
References assert.
Referenced by MappingBuilder::buildCurveOnSurface(), CompositeTopology::buildEdgeCurves(), buildEdgeCurves(), buildSubCurves(), HyperbolicMapping::createCurveOnSurface(), TrimmedMapping::editNurbsTrimCurve(), CurveSegment::get(), IntersectionMapping::intersectWithCompositeSurface(), CompositeTopology::joinEdgeCurves(), joinSubCurves(), main(), merge(), PlotIt::plotNurbsMapping(), CurveSegment::put(), CompositeTopology::splitEdge(), splitSubCurve(), TrimmedMapping::triangulate(), TrimmedMapping::update(), and update().
NurbsMapping & NurbsMapping::subCurveFromList | ( | int | subCurveNumber | ) |
void NurbsMapping::toggleSubCurveOriginal | ( | int | sc | ) |
Referenced by merge().
int NurbsMapping::toggleSubCurveVisibility | ( | int | sc | ) |
References Mapping::debug, and printF().
Referenced by addSubCurve(), TrimmedMapping::assembleSubCurves(), TrimmedMapping::editNurbsTrimCurve(), main(), and TrimmedMapping::snapCurvesToIntersection().
int NurbsMapping::truncateToDomainBounds | ( | ) |
References fabs(), initialize(), normalizeKnots(), REAL_EPSILON, Mapping::reinitialize(), and split().
Referenced by MappingsFromCAD::createBoundaryEntity(), and readFromIgesFile().
|
virtual |
Reimplemented from Mapping.
References GenericGraphicsInterface::appendToTheDefaultPrompt(), Mapping::approximateGlobalInverse, assert, aString, axis1, axis2, axis3, c, cheryl, circle(), MappingInformation::command, MappingInformation::commandOption, conic(), display(), Mapping::domainDimension, dr, elevateDegree(), GenericGraphicsInterface::erase(), fabs(), FALSE, generalCylinder(), GraphicsParameters::get(), MappingRC::getClassName(), GenericGraphicsInterface::getColourName(), MappingRC::getDomainDimension(), Mapping::getDomainDimension(), getGrid(), Mapping::getGridDimensions(), Mapping::getIsPeriodic(), ListOfMappingRC::getLength(), GenericGraphicsInterface::getMenuItem(), MappingRC::getName(), Mapping::getName(), MappingRC::getRangeDimension(), GI_MAPPING_COLOUR, GI_PLOT_GRID_POINTS_ON_CURVES, GI_PLOT_NURBS_CURVES_AS_SUBCURVES, GI_PLOT_THE_OBJECT_AND_EXIT, GI_TOP_LABEL, MappingInformation::graphXInterface, i2, initialize(), GenericGraphicsInterface::inputString(), MappingInformation::interactive, interpolate(), interpolateLoftedSurface(), isSubCurveHidden(), line(), map(), Mapping::mappingHasChanged(), MappingInformation::mappingList, Mapping::mappingName, MappingRC::mapPointer, max(), merge(), min(), NULL, Overture::nullRealArray(), numberOfSubCurves(), GenericGraphicsInterface::outputString(), parameterizeByChordLength, parameterizeByIndex, Pi, PlotIt::plot(), plot(), printF(), put(), r, R, Mapping::rangeDimension, MappingInformation::readOneCommand, REAL_MIN, Mapping::reinitialize(), reparameterize(), rotate(), scale(), Mapping::secondOrderDerivative(), GraphicsParameters::set(), DataPointMapping::setDataPoints(), setDomainInterval(), Mapping::setGridDimensions(), Mapping::setIsPeriodic(), shift(), sPrintF(), sScanF(), GenericGraphicsInterface::stopReadingCommandFile(), subCurve(), TRUE, GenericGraphicsInterface::unAppendTheDefaultPrompt(), Mapping::update(), use_kk_nrb_eval, ApproximateGlobalInverse::useRobustInverse(), XP, xr, xwxw, xxww, YP, YPT, and ZP.
Referenced by UserDefinedMapping1::bladeSetup(), TrimmedMappingBuilder::buildTrimmedMapping(), MappingsFromCAD::createManifoldSolidBRepObject(), and TrimmedMapping::editNurbsTrimCurve().
bool NurbsMapping::use_kk_nrb_eval |
Referenced by mapS(), NurbsMapping(), operator=(), and update().
|
static |
Referenced by mapS().