23#ifndef _MxEdgeErrorMetricScalar_h
24#define _MxEdgeErrorMetricScalar_h
26#include <MeshVizXLM/MbVec3.h>
27#include <MeshVizXLM/MiMeshViz.h>
28#include <MeshVizXLM/MxTimeStamp.h>
29#include <MeshVizXLM/tessellator/MiEdgeErrorMetric.h>
54 MxEdgeErrorMetricScalar(
double maxError)
55 : m_maxError(maxError), m_timeStamp(
MxTimeStamp::getTimeStamp())
69 virtual bool isEdgeLinear(
const double& v0,
const double& v1,
const double& vM)
const
71 return ( fabs( vM - (v0+v1)/2 ) < m_maxError );
79 void setMaxError(
double maxError)
81 m_maxError = maxError;
89 virtual size_t getTimeStamp()
const
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Manages an identifier th...
static size_t getTimeStamp()