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

Return LWTYPE number.

Definition at line 785 of file lwgeom.c.

References LWGEOM::type.

Referenced by lwcollection_calculate_circ_tree(), lwgeom_force_geodetic(), lwline_calculate_circ_tree(), lwpoint_calculate_circ_tree(), and lwpoly_calculate_circ_tree().

786 {
787  if ( ! geom ) return 0;
788  return geom->type;
789 }
uint8_t type
Definition: liblwgeom.h:352

Here is the caller graph for this function: