Simbody  3.6
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

◆ PatchHint() [1/2]

SimTK::BicubicSurface::PatchHint::PatchHint ( )

Creates an empty PatchHint, meaning it contains no meaningful hint information.

◆ PatchHint() [2/2]

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.

◆ ~PatchHint()

SimTK::BicubicSurface::PatchHint::~PatchHint ( )

Destruct this PatchHint.

Member Function Documentation

◆ operator=()

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.

◆ isEmpty()

bool SimTK::BicubicSurface::PatchHint::isEmpty ( ) const

Return true if this object currently contains no meaningful hint information.

◆ clear()

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: