PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ ptarray_has_z()

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(), lwarc_linearize(), 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:77
uint8_t flags
Definition: liblwgeom.h:369
#define FLAGS_GET_Z(flags)
Macros for manipulating the 'flags' byte.
Definition: liblwgeom.h:140
Here is the caller graph for this function: