PostGIS  2.2.7dev-r@@SVN_REVISION@@
uint32_t lwgeom_get_type ( const LWGEOM geom)

Return LWTYPE number.

Definition at line 829 of file lwgeom.c.

References LWGEOM::type.

Referenced by _lwt_AddLineEdge(), gserialized_distance_nd(), lwcollection_calculate_circ_tree(), lwgeom_force_geodetic(), lwline_calculate_circ_tree(), lwpoint_calculate_circ_tree(), lwpoly_calculate_circ_tree(), PrepGeomCacheBuilder(), and TWKBFromLWGEOMArray().

830 {
831  if ( ! geom ) return 0;
832  return geom->type;
833 }
uint8_t type
Definition: liblwgeom.h:380

Here is the caller graph for this function: