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

Definition at line 629 of file g_box.c.

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

Referenced by lwgeom_calculate_gbox_cartesian().

630 {
631  if ( ! triangle ) return LW_FAILURE;
632  return ptarray_calculate_gbox_cartesian( triangle->points, gbox );
633 }
int ptarray_calculate_gbox_cartesian(const POINTARRAY *pa, GBOX *gbox)
Calculate box (x/y) and add values to gbox.
Definition: g_box.c:542
Definition: liblwgeom.h:432
#define LW_FAILURE
Definition: liblwgeom.h:78

Here is the call graph for this function:

Here is the caller graph for this function: