PostGIS  2.3.7dev-r@@SVN_REVISION@@
static char is_point ( const GSERIALIZED g)

Definition at line 130 of file postgis/lwgeom_geos.c.

References gserialized_get_type(), MULTIPOINTTYPE, and POINTTYPE.

Referenced by contains(), coveredby(), covers(), and geos_intersects().

131 {
132  int type = gserialized_get_type(g);
133  return type == POINTTYPE || type == MULTIPOINTTYPE;
134 }
uint32_t gserialized_get_type(const GSERIALIZED *s)
Extract the geometry type from the serialized form (it hides in the anonymous data area...
Definition: g_serialized.c:69
Definition: liblwgeom.h:87
LWTYPE numbers, used internally by PostGIS.
Definition: liblwgeom.h:84

Here is the call graph for this function:

Here is the caller graph for this function: