Namespace Argos
Classes
| Type | Name |
|---|---|
| class | BasicFormatter Default Excel formatter that writes a metadata header followed by a one-row-per-benchmark table. |
| struct | BenchCentroidToFace Result of the "centroid to face" benchmark between two meshes A and B. |
| class | BenchCentroidToFaceComputer Compute the centroid-to-face statistics between two meshes. |
| class | BenchmarkReporter Google Benchmark reporter that aggregates per-iteration results into a structured BenchmarkResult . |
| class | BenchmarkResult Full result of a benchmark session: metadata plus iteration lines. |
| class | BenchmarkResultLine Result of a single Google Benchmark iteration. |
| class | BenchmarkResultMetadata Static metadata captured once for the whole benchmark run. |
| struct | BoundingBox Axis-aligned bounding box described by its two opposite corners. |
| class | BoundingBoxComputer Helper that computes a bounding box from a set of points. |
| class | BoundingBoxMetric Metric comparing the bounding boxes of the original and reconstructed meshes. |
| class | CentroidToFaceMetric Metric reporting centroid-to-face distances from the reconstructed mesh to the original mesh. |
| class | ColumnWidthTracker Helper that tracks the width needed by each column of a worksheet. |
| class | ExcelFormatter Abstract base for formatters that turn a BenchmarkResult into an Excel workbook content. |
| class | XLSXExporter Serialize a BenchmarkResult to an XLSX stream using a pluggableExcelFormatter . |
Public Functions
| Type | Name |
|---|---|
| double | centerDistance (const BoundingBox & a, const BoundingBox & b) Compute the distance between the centers of two bounding boxes. |
| double | normalizedCenterDistance (const BoundingBox & a, const BoundingBox & b) Compute the distance between the centers of two bounding boxes, normalized by the average of their diagonals. |
Public Functions Documentation
function centerDistance
Compute the distance between the centers of two bounding boxes.
Distance between the centers of two bounding boxes.
Returns:
The distance between the centers of the two boxes.
Parameters:
aFirst bounding box.bSecond bounding box.
Returns:
Euclidean distance between the box centers.
function normalizedCenterDistance
Compute the distance between the centers of two bounding boxes, normalized by the average of their diagonals.
Center distance normalized by the average diagonal of the two boxes.
Returns:
The normalized distance between the centers of the two boxes (fractional offset between the two boxes).
Parameters:
aFirst bounding box.bSecond bounding box.
Returns:
Ratio of centerDistance(a,b) to the average diagonal, or 0 if both boxes are degenerate.
The documentation for this class was generated from the following file benchmark/exporter/basic_formatter.cpp