2D Geometric Metric Base Class More...
#include <Geometric_Metrics_2.h>


Public Member Functions | |
| Geo_Metric_Base_2 () | |
| Constructor. More... | |
| virtual void | initialize (Vector_3< double > n[], int type) |
| Initialize a 2D Geometric Metric. More... | |
| virtual void | initialize (Element_node_enumerator &ene) |
| virtual double | maxValue () const |
| The maximum value for this metric. More... | |
| virtual double | minValue () const |
| The minimum value for this metric. More... | |
Public Member Functions inherited from Metric | |
| Metric () | |
| virtual | ~Metric () |
| virtual void | compute (double atts[]) const =0 |
| Compute the value of this metric. More... | |
Protected Member Functions | |
| void | compute_angles (double &min, double &max) const |
| Compute the min and max angles. More... | |
| void | compute_aspects (double &R, double &r, double &l) const |
| Compute the circumradius, inradius, and shortest edge length. More... | |
Protected Attributes | |
| Vector_3< double > | v [4] |
| int | type_ |
2D Geometric Metric Base Class
This class is the base class for the implementation of various 2D geometric element quality metrics.
Definition at line 41 of file Geometric_Metrics_2.h.
|
inline |
|
protected |
Compute the min and max angles.
Definition at line 76 of file Geometric_Metrics_2.C.
References angle(), min_max3(), min_max4(), and v.

|
protected |
Compute the circumradius, inradius, and shortest edge length.
Definition at line 90 of file Geometric_Metrics_2.C.
References edge_length(), sqrt(), and v.

|
virtual |
|
virtual |
Implements Metric.
Definition at line 46 of file Geometric_Metrics_2.C.
References COM_assertion_msg, n, and v.
|
inlinevirtual |
The maximum value for this metric.
Implements Metric.
Reimplemented in Aspect_Metric_2, and Angle_Metric_2.
Definition at line 58 of file Geometric_Metrics_2.h.
|
inlinevirtual |
The minimum value for this metric.
Implements Metric.
Reimplemented in Aspect_Metric_2, and Angle_Metric_2.
Definition at line 61 of file Geometric_Metrics_2.h.
|
protected |
Definition at line 73 of file Geometric_Metrics_2.h.
|
protected |
Definition at line 72 of file Geometric_Metrics_2.h.