PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ lwtriangle_calculate_gbox_cartesian()

static int lwtriangle_calculate_gbox_cartesian ( LWTRIANGLE triangle,
GBOX gbox 
)
static

Definition at line 691 of file gbox.c.

692 {
693  if ( ! triangle ) return LW_FAILURE;
694  return ptarray_calculate_gbox_cartesian( triangle->points, gbox );
695 }
int ptarray_calculate_gbox_cartesian(const POINTARRAY *pa, GBOX *gbox)
Calculate box (x/y) and add values to gbox.
Definition: gbox.c:601
#define LW_FAILURE
Definition: liblwgeom.h:110
POINTARRAY * points
Definition: liblwgeom.h:481

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

Referenced by lwgeom_calculate_gbox_cartesian().

Here is the call graph for this function:
Here is the caller graph for this function: