Simbody  3.4 (development)
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...

#include <BicubicSurface.h>

List of all members.

Public Member Functions

 PatchHint ()
 Creates an empty PatchHint, meaning it contains no meaningful hint information.
 PatchHint (const PatchHint &source)
 Copy an existing PatchHint to create a new one with the same contents.
PatchHintoperator= (const PatchHint &source)
 Set the contents of this PatchHint to be the same as that of source.
 ~PatchHint ()
 Destruct this PatchHint.
bool isEmpty () const
 Return true if this object currently contains no meaningful hint information.
void clear ()
 Erase any information currently stored in this PatchHint.

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

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

Copy an existing PatchHint to create a new one with the same contents.

If source is empty, the new one will be also.


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.

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

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines