PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
int lwtype_is_collection | ( | uint8_t | type | ) |
Return TRUE if the geometry may contain sub-geometries, i.e.
Determine whether a type number is a collection or not.
it is a MULTI* or COMPOUNDCURVE
Definition at line 1093 of file lwgeom.c.
References COLLECTIONTYPE, COMPOUNDTYPE, CURVEPOLYTYPE, LW_FALSE, LW_TRUE, MULTICURVETYPE, MULTILINETYPE, MULTIPOINTTYPE, MULTIPOLYGONTYPE, MULTISURFACETYPE, POLYHEDRALSURFACETYPE, TINTYPE, and ovdump::type.
Referenced by circ_node_internal_new(), circ_tree_distance_tree_internal(), getTableInfo(), gserialized_is_empty_recurse(), lwcollection_construct(), lwcollection_construct_empty(), lwcollection_extract(), lwgeom_covers_lwgeom_sphere(), lwgeom_distance_spheroid(), lwgeom_is_collection(), lwgeom_length_spheroid(), lwgeom_nudge_geodetic(), ST_IsCollection(), and wkt_parser_set_dims().