PostGIS
3.0.6dev-r@@SVN_REVISION@@
|
int ptarray_calculate_gbox_cartesian | ( | const POINTARRAY * | pa, |
GBOX * | gbox | ||
) |
Calculate box (x/y) and add values to gbox.
Return LW_SUCCESS on success.
Definition at line 601 of file gbox.c.
References GBOX::flags, POINTARRAY::flags, FLAGS_GET_M, FLAGS_GET_Z, LW_FAILURE, LW_SUCCESS, LWDEBUGF, lwflags(), GBOX::mmax, GBOX::mmin, POINTARRAY::npoints, ptarray_calculate_gbox_cartesian_2d(), ptarray_calculate_gbox_cartesian_3d(), ptarray_calculate_gbox_cartesian_4d(), GBOX::zmax, and GBOX::zmin.
Referenced by LWGEOM_interiorringn_polygon(), lwline_calculate_gbox_cartesian(), lwpoint_calculate_gbox_cartesian(), lwpoly_calculate_gbox_cartesian(), and lwtriangle_calculate_gbox_cartesian().