PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ is_point()

static char is_point ( const GSERIALIZED g)
static

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

134 {
135  int type = gserialized_get_type(g);
136  return type == POINTTYPE || type == MULTIPOINTTYPE;
137 }
uint32_t gserialized_get_type(const GSERIALIZED *g)
Extract the geometry type from the serialized form (it hides in the anonymous data area,...
Definition: gserialized.c:89
#define MULTIPOINTTYPE
Definition: liblwgeom.h:119
#define POINTTYPE
LWTYPE numbers, used internally by PostGIS.
Definition: liblwgeom.h:116
type
Definition: ovdump.py:42

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

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

Here is the call graph for this function:
Here is the caller graph for this function: