PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ lwline_calculate_gbox_cartesian()

static int lwline_calculate_gbox_cartesian ( LWLINE line,
GBOX gbox 
)
static

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:79
POINTARRAY * points
Definition: liblwgeom.h:422
Here is the call graph for this function:
Here is the caller graph for this function: