Struct Argos::BenchCentroidToFace
ClassList > Argos > BenchCentroidToFace
Result of the "centroid to face" benchmark between two meshes A and B. More...
#include <bench_centroid_to_face.h>
Public Attributes
| Type | Name |
|---|---|
| double | maxAB |
| double | maxBA |
| double | mean |
| double | meanAB |
| double | meanBA |
| double | minAB |
| double | minBA |
| size_t | sizeA |
| size_t | sizeB |
Detailed Description
For each triangle produced by fan-triangulation of the faces, the centroid is taken and the distance to the nearest triangle of the other mesh is queried. Statistics are computed in both directions.
A is the original mesh, B is the reconstructed mesh.
Note:
The CentroidToFaceMetric only exposes the B → A direction (*BA fields, sizeB, plus the reconstructed face count) in the benchmark counters. The *AB fields and sizeA are still computed but not reported.
Public Attributes Documentation
variable maxAB
Maximum centroid-to-face distance, A → B.
variable maxBA
Maximum centroid-to-face distance, B → A.
variable mean
Average of meanAB and meanBA (0 if either side is empty).
variable meanAB
Mean centroid-to-face distance, A → B.
variable meanBA
Mean centroid-to-face distance, B → A.
variable minAB
Minimum centroid-to-face distance, A → B.
variable minBA
Minimum centroid-to-face distance, B → A.
variable sizeA
Number of A centroids considered (triangles after fan-triangulation).
variable sizeB
Number of B centroids considered (triangles after fan-triangulation).
The documentation for this class was generated from the following file benchmark/metrics/implementations/bench_centroid_to_face.h