search_simple Namespace Reference

file-local namespace More...

Functions

void getBoundingBox (const std::vector< Point< 2 >> &cell_coord, double *xlow, double *xhigh, double *ylow, double *yhigh)
 Given a list of 2d coordinates, find the coordinates of the bounding box. More...
 

Detailed Description

file-local namespace

Function Documentation

◆ getBoundingBox()

void search_simple::getBoundingBox ( const std::vector< Point< 2 >> &  cell_coord,
double *  xlow,
double *  xhigh,
double *  ylow,
double *  yhigh 
)
inline

Given a list of 2d coordinates, find the coordinates of the bounding box.

Parameters
[in]cell_coordList of coordinates as (x,y) pairs of points to bound.
[in,out]xlowMinimum x of bounding box.
[in,out]xhighMaximum x of bounding box.
[in,out]ylowMinimum y of bounding box.
[in,out]yhighMaximum y of bounding box.