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

Definition at line 23 of file ptarray.c.

References POINTARRAY::flags, FLAGS_GET_Z, and LW_FALSE.

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

24 {
25  if ( ! pa ) return LW_FALSE;
26  return FLAGS_GET_Z(pa->flags);
27 }
#define LW_FALSE
Definition: liblwgeom.h:52
uint8_t flags
Definition: liblwgeom.h:325
#define FLAGS_GET_Z(flags)
Macros for manipulating the 'flags' byte.
Definition: liblwgeom.h:106

Here is the caller graph for this function: