PostGIS  2.5.0beta2dev-r@@SVN_REVISION@@

◆ is_point()

static char is_point ( const GSERIALIZED g)
static

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

References gserialized_get_type(), MULTIPOINTTYPE, POINTTYPE, and ovdump::type.

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

133 {
134  int type = gserialized_get_type(g);
135  return type == POINTTYPE || type == MULTIPOINTTYPE;
136 }
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:86
#define MULTIPOINTTYPE
Definition: liblwgeom.h:87
#define POINTTYPE
LWTYPE numbers, used internally by PostGIS.
Definition: liblwgeom.h:84
type
Definition: ovdump.py:41
Here is the call graph for this function:
Here is the caller graph for this function: