28 #ifndef vtkGeometricErrorMetric_h 29 #define vtkGeometricErrorMetric_h 31 #include "vtkCommonDataModelModule.h" 59 vtkGetMacro(AbsoluteGeometricTolerance,
double);
70 void SetAbsoluteGeometricTolerance(
double value);
79 void SetRelativeGeometricTolerance(
double value,
101 double alpha)
override;
116 double GetError(
double *leftPoint,
double *midPoint,
117 double *rightPoint,
double alpha)
override;
133 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.