PostGIS  2.5.0dev-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_chaikin(), ptarray_locate_along(), ptarray_segmentize_sphere(), and test_lwline_interpolate_points().

37 {
38  if ( ! pa ) return LW_FALSE;
39  return FLAGS_GET_Z(pa->flags);
40 }
#define LW_FALSE
Definition: liblwgeom.h:76
uint8_t flags
Definition: liblwgeom.h:371
#define FLAGS_GET_Z(flags)
Macros for manipulating the 'flags' byte.
Definition: liblwgeom.h:139
Here is the caller graph for this function: