Geogram  Version 1.9.1-rc
A programming library of geometric algorithms
GEO::Box Class Reference

Axis-aligned bounding box. More...

#include <geogram/basic/geometry.h>

Public Member Functions

bool contains (const vec3 &b) const
 Tests whether a box contains a point. More...
 

Public Attributes

double xyz_min [3]
 
double xyz_max [3]
 

Detailed Description

Axis-aligned bounding box.

Definition at line 669 of file geometry.h.

Member Function Documentation

◆ contains()

bool GEO::Box::contains ( const vec3 b) const
inline

Tests whether a box contains a point.

Parameters
[in]bthe point
Returns
true if this box contains b, false otherwise

Definition at line 679 of file geometry.h.


The documentation for this class was generated from the following file: