PostGIS  2.3.8dev-r@@SVN_REVISION@@

◆ lwline_calculate_gbox_cartesian()

static int lwline_calculate_gbox_cartesian ( LWLINE line,
GBOX gbox 

Definition at line 628 of file g_box.c.

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

Referenced by lwgeom_calculate_gbox_cartesian().

629 {
630  if ( ! line ) return LW_FAILURE;
631  return ptarray_calculate_gbox_cartesian( line->points, gbox );
632 }
int ptarray_calculate_gbox_cartesian(const POINTARRAY *pa, GBOX *gbox)
Calculate box (x/y) and add values to gbox.
Definition: g_box.c:547
#define LW_FAILURE
Definition: liblwgeom.h:78
Definition: liblwgeom.h:421
Here is the call graph for this function:
Here is the caller graph for this function: