PostGIS  2.1.10dev-r@@SVN_REVISION@@
static int lwpoint_calculate_gbox_cartesian ( LWPOINT point,
GBOX gbox 

Definition at line 546 of file g_box.c.

References LW_FAILURE, LWPOINT::point, and ptarray_calculate_gbox_cartesian().

Referenced by lwgeom_calculate_gbox_cartesian().

547 {
548  if ( ! point ) return LW_FAILURE;
549  return ptarray_calculate_gbox_cartesian( point->point, gbox );
550 }
int ptarray_calculate_gbox_cartesian(const POINTARRAY *pa, GBOX *gbox)
Calculate box (x/y) and add values to gbox.
Definition: g_box.c:471
Definition: liblwgeom.h:367
#define LW_FAILURE
Definition: liblwgeom.h:54

Here is the call graph for this function:

Here is the caller graph for this function: