PostGIS  2.1.10dev-r@@SVN_REVISION@@
static int lwline_calculate_gbox_cartesian ( LWLINE line,
GBOX gbox 

Definition at line 552 of file g_box.c.

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

Referenced by lwgeom_calculate_gbox_cartesian().

553 {
554  if ( ! line ) return LW_FAILURE;
555  return ptarray_calculate_gbox_cartesian( line->points, gbox );
556 }
int ptarray_calculate_gbox_cartesian(const POINTARRAY *pa, GBOX *gbox)
Calculate box (x/y) and add values to gbox.
Definition: g_box.c:471
#define LW_FAILURE
Definition: liblwgeom.h:54
Definition: liblwgeom.h:378

Here is the call graph for this function:

Here is the caller graph for this function: