Go to the source code of this file.
Macros | |
#define | VERDICT_EXPORTS |
Functions | |
C_FUNC_DEF double | v_edge_length (int, double coordinates[][3]) |
Calculates edge length. More... | |
C_FUNC_DEF void | edge_quality (int num_nodes, double coordinates[][3], unsigned int metrics_request_flag, struct EdgeMetricVals *metric_vals) |
#define VERDICT_EXPORTS |
Definition at line 23 of file V_EdgeMetric.cpp.
C_FUNC_DEF void edge_quality | ( | int | num_nodes, |
double | coordinates[][3], | ||
unsigned int | metrics_request_flag, | ||
struct EdgeMetricVals * | metric_vals | ||
) |
higher order function for calculating multiple metrics at once.
for an edge, there is only one metric, edge length.
Definition at line 48 of file V_EdgeMetric.cpp.
References EdgeMetricVals::length, V_EDGE_LENGTH, and v_edge_length().
C_FUNC_DEF double v_edge_length | ( | int | num_nodes, |
double | coordinates[][3] | ||
) |
Calculates edge length.
length of and edge length is calculated by taking the distance between the end nodes
Definition at line 32 of file V_EdgeMetric.cpp.
Referenced by moab::VerdictWrapper::all_quality_measures(), edge_quality(), and moab::VerdictWrapper::quality_measure().