PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ ptarray_has_z()

int ptarray_has_z ( const POINTARRAY pa)

Definition at line 36 of file ptarray.c.

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

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().

Here is the caller graph for this function: