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

Definition at line 587 of file g_box.c.

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

Referenced by lwgeom_calculate_gbox_cartesian().

588 {
589  if ( ! point ) return LW_FAILURE;
590  return ptarray_calculate_gbox_cartesian( point->point, gbox );
591 }
int ptarray_calculate_gbox_cartesian(const POINTARRAY *pa, GBOX *gbox)
Calculate box (x/y) and add values to gbox.
Definition: g_box.c:512
Definition: liblwgeom.h:395
#define LW_FAILURE
Definition: liblwgeom.h:64

Here is the call graph for this function:

Here is the caller graph for this function: