PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ lwline_calculate_gbox_cartesian()

static int lwline_calculate_gbox_cartesian ( LWLINE line,
GBOX gbox 
)
static

Definition at line 685 of file gbox.c.

686 {
687  if ( ! line ) return LW_FAILURE;
688  return ptarray_calculate_gbox_cartesian( line->points, gbox );
689 }
int ptarray_calculate_gbox_cartesian(const POINTARRAY *pa, GBOX *gbox)
Calculate box (x/y) and add values to gbox.
Definition: gbox.c:601
#define LW_FAILURE
Definition: liblwgeom.h:110
POINTARRAY * points
Definition: liblwgeom.h:469

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: