PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
int ptarray_calculate_gbox_geodetic | ( | const POINTARRAY * | pa, |
GBOX * | gbox | ||
) |
Calculate geodetic (x/y/z) box and add values to gbox.
Return LW_SUCCESS on success.
Definition at line 2873 of file lwgeodetic.c.
References edge_calculate_gbox(), GBOX::flags, gbox_duplicate(), gbox_init(), gbox_merge(), getPoint2d_cp(), ll2cart(), LW_FAILURE, LW_FALSE, LW_SUCCESS, LW_TRUE, POINTARRAY::npoints, POINT3D::x, GBOX::xmax, GBOX::xmin, POINT3D::y, GBOX::ymax, GBOX::ymin, POINT3D::z, GBOX::zmax, and GBOX::zmin.
Referenced by lwline_calculate_gbox_geodetic(), lwpoint_calculate_gbox_geodetic(), lwpolygon_calculate_gbox_geodetic(), and lwtriangle_calculate_gbox_geodetic().