PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ lwline_calculate_gbox_cartesian()

static int lwline_calculate_gbox_cartesian ( LWLINE line,
GBOX gbox 

Definition at line 593 of file g_box.c.

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

Referenced by lwgeom_calculate_gbox_cartesian().

594 {
595  if ( ! line ) return LW_FAILURE;
596  return ptarray_calculate_gbox_cartesian( line->points, gbox );
597 }
int ptarray_calculate_gbox_cartesian(const POINTARRAY *pa, GBOX *gbox)
Calculate box (x/y) and add values to gbox.
Definition: g_box.c:512
#define LW_FAILURE
Definition: liblwgeom.h:64
Definition: liblwgeom.h:406
Here is the call graph for this function:
Here is the caller graph for this function: