Skip to content

Class Argos::BenchCentroidToFaceComputer

ClassList > Argos > BenchCentroidToFaceComputer

Compute the centroid-to-face statistics between two meshes.

  • #include <bench_centroid_to_face.h>

Public Static Functions

Type Name
BenchCentroidToFace compute (const Mesh & a, const Mesh & b)
Compute centroid-to-face distances in both directions between meshes a andb .

Public Static Functions Documentation

function compute

Compute centroid-to-face distances in both directions between meshes a andb .

static BenchCentroidToFace Argos::BenchCentroidToFaceComputer::compute (
    const Mesh & a,
    const Mesh & b
) 

Builds one AABB tree per mesh and uses them to find, for every triangle centroid of one mesh, the closest triangle of the other.

Parameters:

  • a First mesh (A).
  • b Second mesh (B).

Returns:

Aggregated statistics in both directions.



The documentation for this class was generated from the following file benchmark/metrics/implementations/bench_centroid_to_face.h