PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ lwline_calculate_gbox_cartesian()

static int lwline_calculate_gbox_cartesian ( LWLINE line,
GBOX gbox 
)
static

Definition at line 623 of file g_box.c.

624 {
625  if ( ! line ) return LW_FAILURE;
626  return ptarray_calculate_gbox_cartesian( line->points, gbox );
627 }
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 * points
Definition: liblwgeom.h:425

References LW_FAILURE, LWLINE::points, 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: