CDT  1.4.1
C++ library for constrained Delaunay triangulation
Loading...
Searching...
No Matches
CDT::Box2d< T > Struct Template Reference

2D bounding box More...

#include <CDTUtils.h>

Public Member Functions

void envelopPoint (const V2d< T > &p)
 Envelop box around a point.
 
void envelopPoint (const T x, const T y)
 Envelop box around a point with given coordinates.
 

Public Attributes

V2d< T > min
 min box corner
 
V2d< T > max
 max box corner
 

Detailed Description

template<typename T>
struct CDT::Box2d< T >

2D bounding box

Definition at line 161 of file CDTUtils.h.

Member Function Documentation

◆ envelopPoint() [1/2]

template<typename T >
void CDT::Box2d< T >::envelopPoint ( const T x,
const T y )
inline

Envelop box around a point with given coordinates.

Definition at line 172 of file CDTUtils.h.

◆ envelopPoint() [2/2]

template<typename T >
void CDT::Box2d< T >::envelopPoint ( const V2d< T > & p)
inline

Envelop box around a point.

Definition at line 167 of file CDTUtils.h.

Member Data Documentation

◆ max

template<typename T >
V2d<T> CDT::Box2d< T >::max

max box corner

Definition at line 164 of file CDTUtils.h.

◆ min

template<typename T >
V2d<T> CDT::Box2d< T >::min

min box corner

Definition at line 163 of file CDTUtils.h.


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