Simbody  3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
SimTK::BicubicSurface::PatchHint Class Reference

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...
 
PatchHintoperator= (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...
 

Detailed Description

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.

Constructor & Destructor Documentation

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.

Member Function Documentation

PatchHint& SimTK::BicubicSurface::PatchHint::operator= ( const PatchHint source)

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.


The documentation for this class was generated from the following file: