PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ lwpoint_calculate_gbox_cartesian()

static int lwpoint_calculate_gbox_cartesian ( LWPOINT point,
GBOX gbox 
)
static

Definition at line 617 of file g_box.c.

618 {
619  if ( ! point ) return LW_FAILURE;
620  return ptarray_calculate_gbox_cartesian( point->point, gbox );
621 }
int ptarray_calculate_gbox_cartesian(const POINTARRAY *pa, GBOX *gbox)
Calculate box (x/y) and add values to gbox.
Definition: g_box.c:542
#define LW_FAILURE
Definition: liblwgeom.h:79
POINTARRAY * point
Definition: liblwgeom.h:414

References LW_FAILURE, LWPOINT::point, 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: