PostGIS  2.1.10dev-r@@SVN_REVISION@@
static LWMPOINT* lwgeom_extract_endpoints ( const LWGEOM lwg)

Definition at line 73 of file lwgeom_geos_node.c.

References LWGEOM::flags, FLAGS_GET_M, FLAGS_GET_Z, lwgeom_collect_endpoints(), lwmpoint_construct_empty(), and SRID_UNKNOWN.

Referenced by lwgeom_extract_unique_endpoints().

74 {
76  FLAGS_GET_Z(lwg->flags),
77  FLAGS_GET_M(lwg->flags));
78  lwgeom_collect_endpoints(lwg, col);
80  return col;
81 }
uint8_t flags
Definition: liblwgeom.h:353
Unknown SRID value.
Definition: liblwgeom.h:154
LWMPOINT * lwmpoint_construct_empty(int srid, char hasz, char hasm)
Definition: lwmpoint.c:26
#define FLAGS_GET_Z(flags)
Macros for manipulating the 'flags' byte.
Definition: liblwgeom.h:106
static void lwgeom_collect_endpoints(const LWGEOM *lwg, LWMPOINT *col)
#define FLAGS_GET_M(flags)
Definition: liblwgeom.h:107

Here is the call graph for this function:

Here is the caller graph for this function: