PostGIS  2.2.7dev-r@@SVN_REVISION@@
static int lwtriangle_calculate_gbox_cartesian ( LWTRIANGLE triangle,
GBOX gbox 
)
static

Definition at line 599 of file g_box.c.

References LW_FAILURE, LWTRIANGLE::points, and ptarray_calculate_gbox_cartesian().

Referenced by lwgeom_calculate_gbox_cartesian().

600 {
601  if ( ! triangle ) return LW_FAILURE;
602  return ptarray_calculate_gbox_cartesian( triangle->points, gbox );
603 }
int ptarray_calculate_gbox_cartesian(const POINTARRAY *pa, GBOX *gbox)
Calculate box (x/y) and add values to gbox.
Definition: g_box.c:512
POINTARRAY * points
Definition: liblwgeom.h:417
#define LW_FAILURE
Definition: liblwgeom.h:64

Here is the call graph for this function:

Here is the caller graph for this function: