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

Axis-aligned bounding box. More...

#include <geogram/basic/geometry.h>

Public Member Functions

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

Public Attributes

double xy_min [2]
 
double xy_max [2]
 

Detailed Description

Axis-aligned bounding box.

Definition at line 732 of file geometry.h.

Member Function Documentation

◆ contains()

bool GEO::Box2d::contains ( const vec2 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 742 of file geometry.h.


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