PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ is_point()

static char is_point ( const GSERIALIZED g)
inlinestatic

Definition at line 78 of file lwgeom_geos_predicates.c.

79 {
80  int type = gserialized_get_type(g);
81  return type == POINTTYPE || type == MULTIPOINTTYPE;
82 }
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:118
#define MULTIPOINTTYPE
Definition: liblwgeom.h:105
#define POINTTYPE
LWTYPE numbers, used internally by PostGIS.
Definition: liblwgeom.h:102
type
Definition: ovdump.py:42

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

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

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