Graphite  Version 3
An experimental 3D geometry processing program
GEO::Box Class Reference

Axis-aligned bounding box. More...

#include <geogram/basic/geometry.h>

Inheritance diagram for GEO::Box:
OGF::Box3d

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: