PostGIS  2.2.7dev-r@@SVN_REVISION@@
int ptarray_has_z ( const POINTARRAY pa)

Definition at line 36 of file ptarray.c.

References POINTARRAY::flags, FLAGS_GET_Z, and LW_FALSE.

Referenced by circstring_from_pa(), linestring_from_pa(), lwmpoint_construct(), pta_unstroke(), ptarray_locate_along(), and ptarray_segmentize_sphere().

37 {
38  if ( ! pa ) return LW_FALSE;
39  return FLAGS_GET_Z(pa->flags);
40 }
#define LW_FALSE
Definition: liblwgeom.h:62
uint8_t flags
Definition: liblwgeom.h:353
#define FLAGS_GET_Z(flags)
Macros for manipulating the 'flags' byte.
Definition: liblwgeom.h:124

Here is the caller graph for this function: