31 #ifndef vtkGeometricErrorMetric_h 32 #define vtkGeometricErrorMetric_h 34 #include "vtkCommonDataModelModule.h" 62 vtkGetMacro(AbsoluteGeometricTolerance,
double);
73 void SetAbsoluteGeometricTolerance(
double value);
82 void SetRelativeGeometricTolerance(
double value,
104 double alpha)
override;
119 double GetError(
double *leftPoint,
double *midPoint,
120 double *rightPoint,
double alpha)
override;
136 double Distance2LinePoint(
double x[3],
void PrintSelf(ostream &os, vtkIndent indent) override
Standard VTK type and error macros.
virtual int RequiresEdgeSubdivision(double *leftPoint, double *midPoint, double *rightPoint, double alpha)=0
Does the edge need to be subdivided according to the implemented computation? The edge is defined by ...
double AbsoluteGeometricTolerance
a simple class to control print indentation
Objects that compute error during cell tessellation.
virtual double GetError(double *leftPoint, double *midPoint, double *rightPoint, double alpha)=0
Return the error at the mid-point.
defines dataset interface
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
Objects that compute geometry-based error during cell tessellation.