Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
MxEdgeErrorMetricScalar.h File Reference

Go to the source code of this file.

Variables

size_t m_timeStamp
 

Variable Documentation

◆ m_timeStamp

size_t m_timeStamp
Initial value:
{
public:
MxEdgeErrorMetricScalar(double maxError)
: m_maxError(maxError), m_timeStamp(MxTimeStamp::getTimeStamp())
{}
virtual bool isEdgeLinear(const double& v0, const double& v1, const double& vM) const
{
return ( fabs( vM - (v0+v1)/2 ) < m_maxError );
}
void setMaxError(double maxError)
{
m_maxError = maxError;
}
virtual size_t getTimeStamp() const
{
return m_timeStamp;
}
private:
double m_maxError
size_t m_timeStamp
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Manages an identifier th...
Definition MxTimeStamp.h:44
static size_t getTimeStamp()
Definition MxTimeStamp.h:46

Definition at line 96 of file MxEdgeErrorMetricScalar.h.