Definition at line 954 of file lwgeodetic_tree.c.
References COLLECTIONTYPE, LINETYPE, lwcollection_calculate_circ_tree(), lwerror(), lwgeom_is_empty(), lwline_calculate_circ_tree(), lwpoint_calculate_circ_tree(), lwpoly_calculate_circ_tree(), lwtype_name(), MULTILINETYPE, MULTIPOINTTYPE, MULTIPOLYGONTYPE, POINTTYPE, POLYGONTYPE, LWGEOM::type, and LWCOLLECTION::type.
Referenced by CircTreeBuilder(), geography_distance_cache_tolerance(), geography_tree_distance(), lwcollection_calculate_circ_tree(), test_tree_circ_distance(), and test_tree_circ_distance_threshold().
959 switch ( lwgeom->
type )
static CIRC_NODE * lwpoint_calculate_circ_tree(const LWPOINT *lwpoint)
const char * lwtype_name(uint8_t type)
Return the type name string associated with a type number (e.g.
static CIRC_NODE * lwline_calculate_circ_tree(const LWLINE *lwline)
#define POINTTYPE
LWTYPE numbers, used internally by PostGIS.
static CIRC_NODE * lwpoly_calculate_circ_tree(const LWPOLY *lwpoly)
static CIRC_NODE * lwcollection_calculate_circ_tree(const LWCOLLECTION *lwcol)
int lwgeom_is_empty(const LWGEOM *geom)
Return true or false depending on whether a geometry is an "empty" geometry (no vertices members) ...
void lwerror(const char *fmt,...)
Write a notice out to the error handler.