Skip to content

Class Argos::BoundingBoxComputer

ClassList > Argos > BoundingBoxComputer

Helper that computes a bounding box from a set of points.

  • #include <bench_bounding_box.h>

Public Static Functions

Type Name
BoundingBox compute (const std::vector< Vector3D< double > > & points)
Build the bounding box that contains every input point.

Public Static Functions Documentation

function compute

Build the bounding box that contains every input point.

static BoundingBox Argos::BoundingBoxComputer::compute (
    const std::vector< Vector3D< double > > & points
) 

Compute the axis-aligned bounding box of a set of points.

Parameters:

  • points Input points (must be non-empty).

Returns:

Bounding box of points. Returns a zero box for an empty input.



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