Simbody
3.6
|
This object is used to hold precalculated data about the most recently accessed patch to accelerate the common case of repeated access to the same patch or to nearby patches. More...
Public Member Functions | |
PatchHint () | |
Creates an empty PatchHint, meaning it contains no meaningful hint information. More... | |
PatchHint (const PatchHint &source) | |
Copy an existing PatchHint to create a new one with the same contents. More... | |
PatchHint & | operator= (const PatchHint &source) |
Set the contents of this PatchHint to be the same as that of source. More... | |
~PatchHint () | |
Destruct this PatchHint. More... | |
bool | isEmpty () const |
Return true if this object currently contains no meaningful hint information. More... | |
void | clear () |
Erase any information currently stored in this PatchHint. More... | |
This object is used to hold precalculated data about the most recently accessed patch to accelerate the common case of repeated access to the same patch or to nearby patches.
SimTK::BicubicSurface::PatchHint::PatchHint | ( | ) |
Creates an empty PatchHint, meaning it contains no meaningful hint information.
SimTK::BicubicSurface::PatchHint::PatchHint | ( | const PatchHint & | source | ) |
Copy an existing PatchHint to create a new one with the same contents.
If source is empty, the new one will be also.
SimTK::BicubicSurface::PatchHint::~PatchHint | ( | ) |
Destruct this PatchHint.
Set the contents of this PatchHint to be the same as that of source.
If source is empty, this one will be empty after the assignment.
bool SimTK::BicubicSurface::PatchHint::isEmpty | ( | ) | const |
Return true
if this object currently contains no meaningful hint information.
void SimTK::BicubicSurface::PatchHint::clear | ( | ) |
Erase any information currently stored in this PatchHint.
After this call isEmpty() will return true
.