564 LWGEOM *minpoint, *maxpoint;
572 elog(ERROR,
"BOX3D_construct: args must be points");
577 elog(ERROR,
"BOX3D_construct: args can not be empty points");
596 PG_RETURN_POINTER(
result);
char result[OUT_DOUBLE_BUFFER_SIZE]
void gserialized_error_if_srid_mismatch(const GSERIALIZED *g1, const GSERIALIZED *g2, const char *funcname)
LWGEOM * lwgeom_from_gserialized(const GSERIALIZED *g)
Allocate a new LWGEOM from a GSERIALIZED.
#define POINTTYPE
LWTYPE numbers, used internally by PostGIS.
int getPoint3dz_p(const POINTARRAY *pa, uint32_t n, POINT3DZ *point)
static int lwgeom_is_empty(const LWGEOM *geom)
Return true or false depending on whether a geometry is an "empty" geometry (no vertices members)