Skip to content

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

double Argos::BenchCentroidToFace::maxAB;

Maximum centroid-to-face distance, A → B.


variable maxBA

double Argos::BenchCentroidToFace::maxBA;

Maximum centroid-to-face distance, B → A.


variable mean

double Argos::BenchCentroidToFace::mean;

Average of meanAB and meanBA (0 if either side is empty).


variable meanAB

double Argos::BenchCentroidToFace::meanAB;

Mean centroid-to-face distance, A → B.


variable meanBA

double Argos::BenchCentroidToFace::meanBA;

Mean centroid-to-face distance, B → A.


variable minAB

double Argos::BenchCentroidToFace::minAB;

Minimum centroid-to-face distance, A → B.


variable minBA

double Argos::BenchCentroidToFace::minBA;

Minimum centroid-to-face distance, B → A.


variable sizeA

size_t Argos::BenchCentroidToFace::sizeA;

Number of A centroids considered (triangles after fan-triangulation).


variable sizeB

size_t Argos::BenchCentroidToFace::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