Overture
Version 25
|
#include <IntersectionMapping.h>
Public Attributes | |
Mapping * | rCurve1 |
Mapping * | rCurve2 |
Mapping * | curve |
Public Attributes inherited from Mapping | |
int | computeMap |
int | computeMapDerivative |
int | base |
int | bound |
real | signForJacobian |
ApproximateGlobalInverse * | approximateGlobalInverse |
ExactLocalInverse * | exactLocalInverse |
DistributedInverse * | distributedInverse |
IntersectionMapping::IntersectionMapping | ( | ) |
References axis1, curve, Mapping::mappingHasChanged(), Mapping::mappingName, NULL, rCurve1, rCurve2, Mapping::setGridDimensions(), and Mapping::setName().
Referenced by make().
IntersectionMapping::IntersectionMapping | ( | const IntersectionMapping & | map, |
const CopyType | copyType = DEEP |
||
) |
IntersectionMapping::~IntersectionMapping | ( | ) |
References curve, Mapping::debug, ReferenceCounting::decrementReferenceCount(), NULL, rCurve1, and rCurve2.
|
protected |
References BoundingBox::child1, and BoundingBox::child2.
Referenced by determineIntersection(), and intersectCurves().
|
protected |
References BoundingBox::child1, BoundingBox::child2, and NULL.
Referenced by determineIntersection(), and intersectCurves().
|
protected |
References Mapping::approximateGlobalInverse, assert, axis1, axis2, ApproximateGlobalInverse::boundingBoxTree, BoundingBox::child1, BoundingBox::child2, createBoundingBox(), curve, Mapping::debug, Mapping::derivativePeriodic, destroyBoundingBox(), BoundingBox::domainBound(), dr, End, fabs(), FALSE, Mapping::functionPeriodic, ApproximateGlobalInverse::getBoundingBox(), Mapping::getGrid(), Mapping::getGridDimensions(), Mapping::getIsPeriodic(), Triangle::getRelativeCoordinates(), GI_MAPPING_COLOUR, GI_PLOT_THE_OBJECT_AND_EXIT, i2, ReferenceCounting::incrementReferenceCount(), ApproximateGlobalInverse::initialize(), NurbsMapping::interpolate(), Triangle::intersects(), BoundingBox::intersects(), Mapping::inverseMap(), GraphicsParameters::isDefault(), BoundingBoxStack::isEmpty(), Mapping::map(), NurbsMapping::map(), MappingParameters::mask, mask1, mask2, max(), NurbsMapping::merge(), min(), Mapping::notPeriodic, NULL, PlotIt::plot(), BoundingBoxStack::pop(), printF(), project(), BoundingBoxStack::push(), r, R, rCurve1, rCurve2, REAL_EPSILON, reduce(), reOrder(), GraphicsParameters::set(), DataPointMapping::setDataPoints(), Mapping::setIsPeriodic(), Start, TRUE, and x.
Referenced by intersect(), IntersectionMapping(), intersectWithCompositeSurface(), and update().
|
virtual |
Reimplemented from Mapping.
References aString, curve, GenericDataBase::find(), GenericDataBase::get(), Mapping::get(), Mapping::makeMapping(), NULL, rCurve1, rCurve2, sPrintF(), and GenericDataBase::virtualConstructor().
|
inlinevirtual |
Reimplemented from Mapping.
Referenced by operator=().
int IntersectionMapping::intersect | ( | Mapping & | map1, |
Mapping & | map2, | ||
GenericGraphicsInterface * | gi = NULL , |
||
GraphicsParameters & | params = Overture::defaultGraphicsParameters() |
||
) |
References curve, ReferenceCounting::decrementReferenceCount(), determineIntersection(), Mapping::getClassName(), Mapping::getDomainDimension(), Mapping::getIsPeriodic(), Mapping::getRangeDimension(), Mapping::intersects(), intersectWithCompositeSurface(), Mapping::mappingHasChanged(), NULL, rCurve1, rCurve2, and Mapping::setIsPeriodic().
Referenced by MappingBuilder::buildCurveOnSurface(), TrimmedMappingBuilder::buildTrimmedMapping(), JoinMapping::initialize(), and FilletMapping::initialize().
int IntersectionMapping::intersectCurves | ( | Mapping & | map1, |
Mapping & | map2, | ||
int & | numberOfIntersectionPoints, | ||
realArray & | r1, | ||
realArray & | r2, | ||
realArray & | x | ||
) |
References Mapping::approximateGlobalInverse, assert, axis1, ApproximateGlobalInverse::boundingBoxTree, BoundingBox::child1, BoundingBox::child2, createBoundingBox(), Mapping::debug, delta, destroyBoundingBox(), BoundingBox::domainBound(), End, fabs(), FALSE, GECO, GESL, ApproximateGlobalInverse::getBoundingBox(), Mapping::getGrid(), Mapping::getGridDimensions(), i2, ApproximateGlobalInverse::initialize(), BoundingBox::intersects(), Mapping::intersects(), BoundingBoxStack::isEmpty(), Mapping::map(), max(), NULL, BoundingBoxStack::pop(), BoundingBoxStack::push(), ra, REAL_EPSILON, REAL_MAX, REAL_MIN, SQR, SQRT, and Start.
Referenced by TrimmedMapping::editNurbsTrimCurve(), JoinMapping::initialize(), FilletMapping::initialize(), intersectWithCompositeSurface(), Ugen::sealHoles(), and TrimmedMapping::snapCurvesToIntersection().
|
protected |
References ListOfMappingRC::addElement(), NurbsMapping::addSubCurve(), axis1, Vect::crossProduct, curve, ReferenceCounting::decrementReferenceCount(), ListOfMappingRC::deleteElement(), NurbsMapping::deleteSubCurve(), determineIntersection(), fabs(), Mapping::getClassName(), Mapping::getGridDimensions(), ListOfMappingRC::getLength(), ReferenceCounting::getReferenceCount(), ReferenceCounting::incrementReferenceCount(), intersectCurves(), CompositeSurface::isVisible(), Mapping::map(), NurbsMapping::map(), max(), NurbsMapping::merge(), NULL, NurbsMapping::numberOfSubCurves(), CompositeSurface::numberOfSubSurfaces(), printF(), r, ra, rCurve1, rCurve2, REAL_EPSILON, REAL_MIN, Vect::rp, s, NurbsMapping::setDomainInterval(), Mapping::setGridDimensions(), NurbsMapping::split(), SQR, and NurbsMapping::subCurve().
Referenced by intersect().
Reimplemented from Mapping.
References IntersectionMapping().
|
virtual |
Reimplemented from Mapping.
References curve, Mapping::map(), and NULL.
Referenced by IntersectionMapping(), and update().
|
protected |
References c, Mapping::debug, delta, fabs(), GECO, GESL, Mapping::map(), max(), min(), R, REAL_EPSILON, and SQRT.
Referenced by project().
IntersectionMapping & IntersectionMapping::operator= | ( | const IntersectionMapping & | X0 | ) |
References curve, getClassName(), Mapping::operator=(), rCurve1, and rCurve2.
|
virtual |
References axis1, axis2, Mapping::debug, DOT, fabs(), Mapping::getIsPeriodic(), max(), min(), newtonIntersection(), normal, R, and TRUE.
Referenced by determineIntersection(), and reparameterize().
|
inlinevirtual |
Reimplemented from Mapping.
References Mapping::project().
|
virtual |
Reimplemented from Mapping.
References GenericDataBase::create(), Mapping::getClassName(), NULL, GenericDataBase::put(), Mapping::put(), sPrintF(), and GenericDataBase::virtualConstructor().
|
protected |
References Mapping::debug, fabs(), mask, and R.
Referenced by determineIntersection().
|
protected |
References axis1, axis2, Mapping::debug, fabs(), FALSE, Mapping::functionPeriodic, Mapping::getIsPeriodic(), max(), Mapping::notPeriodic, R, and TRUE.
Referenced by determineIntersection().
|
virtual |
References axis1, curve, Mapping::debug, dr, equidistribute(), Mapping::getGridDimensions(), Mapping::getIsPeriodic(), Ogmg::interpolate(), Mapping::map(), max(), project(), r, R, rCurve1, rCurve2, SQR, SQRT, x, and xr.
Referenced by update().
|
virtual |
Reimplemented from Mapping.
References ListOfMappingRC::addElement(), GenericGraphicsInterface::appendToTheDefaultPrompt(), assert, aString, MappingInformation::command, MappingInformation::commandOption, curve, GraphicsParameters::curveLineWidth, determineIntersection(), Mapping::display(), Mapping::domainDimension, End, GenericGraphicsInterface::erase(), FALSE, GraphicsParameters::get(), MappingRC::getDomainDimension(), Mapping::getDomainDimension(), ListOfMappingRC::getLength(), GenericGraphicsInterface::getMenuItem(), MappingRC::getName(), Mapping::getName(), Mapping::getRangeBound(), MappingRC::getRangeDimension(), Mapping::getRangeDimension(), GI_MAPPING_COLOUR, GI_PLOT_BOUNDS, GI_PLOT_THE_OBJECT_AND_EXIT, GI_SURFACE_OFFSET, GI_TOP_LABEL, GI_USE_PLOT_BOUNDS, MappingInformation::graphXInterface, GenericGraphicsInterface::inputString(), MappingInformation::interactive, Bound::isFinite(), map(), Mapping::mappingHasChanged(), MappingInformation::mappingList, Mapping::mappingName, MappingRC::mapPointer, max(), min(), NULL, GenericGraphicsInterface::outputString(), PlotIt::plot(), printF(), rCurve1, rCurve2, MappingInformation::readOneCommand, reparameterize(), GraphicsParameters::set(), Mapping::setDomainDimension(), Mapping::setName(), Mapping::setRangeDimension(), sPrintF(), sScanF(), Start, GenericGraphicsInterface::stopReadingCommandFile(), TRUE, GenericGraphicsInterface::unAppendTheDefaultPrompt(), and Mapping::update().
Referenced by FilletMapping::update().
Mapping * IntersectionMapping::curve |
Referenced by MappingBuilder::buildCurveOnSurface(), TrimmedMappingBuilder::buildTrimmedMapping(), determineIntersection(), get(), JoinMapping::initialize(), FilletMapping::initialize(), intersect(), IntersectionMapping(), intersectWithCompositeSurface(), map(), operator=(), reparameterize(), update(), and ~IntersectionMapping().
Mapping* IntersectionMapping::rCurve1 |
Referenced by TrimmedMappingBuilder::buildTrimmedMapping(), determineIntersection(), get(), JoinMapping::initialize(), FilletMapping::initialize(), intersect(), IntersectionMapping(), intersectWithCompositeSurface(), operator=(), reparameterize(), JoinMapping::update(), update(), and ~IntersectionMapping().
Mapping * IntersectionMapping::rCurve2 |