BoundingBox3D

class BoundingBox3D

Bounding box in 3D.

As points are added it grows to be the bounding box of the point set

Public Functions

double size(int n) const

Return n-th dimension of the bounding box.

Parameters:

n – dimension index (0, 1, 2)

Returns:

size of the n-th dimension