38 #ifndef EdgeLengthRangeQualityMetric_hpp
39 #define EdgeLengthRangeQualityMetric_hpp
71 MSQ_SETERR(err)(
"Edge Length Range values given in descending order.",
79 set_name(
"Edge Length Range Metric");
102 set_name(
"Edge Length Range Metric Default Constructor");
114 #endif // EdgeLengthRangeQualityMetric_hpp
bool evaluate_vertex(PatchData &pd, MsqVertex *vert, double &fval, MsqError &err)
Computes the edge length range metric for a given vertex.
EdgeLengthRangeQualityMetric(double low_a, double high_a, MsqError &err)
Used to hold the error state and return it to the application.
virtual ~EdgeLengthRangeQualityMetric()
invalid function argument passed
#define MSQ_SETERR(err)
Macro to set error - use err.clear() to clear.
void set_metric_type(MetricType t)
This function should be used in the constructor of every concrete quality metric. ...
AveragingMethod avgMethod
MsqVertex is the Mesquite object that stores information about the vertices in the mesh...
EdgeLengthRangeQualityMetric()
void set_name(msq_std::string st)
Sets the name of this metric.