PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ lwgeom_has_z()

int lwgeom_has_z ( const LWGEOM geom)

Return LW_TRUE if geometry has Z ordinates.

Definition at line 916 of file lwgeom.c.

917 {
918  if ( ! geom ) return LW_FALSE;
919  return FLAGS_GET_Z(geom->flags);
920 }
#define LW_FALSE
Definition: liblwgeom.h:108
#define FLAGS_GET_Z(flags)
Definition: liblwgeom.h:179
lwflags_t flags
Definition: liblwgeom.h:447

References LWGEOM::flags, FLAGS_GET_Z, and LW_FALSE.

Referenced by _lwt_AddPoint(), analyze_geometry_flags(), do_median_test(), gserialized_distance_nd(), lw_dist3d_distanceline(), lw_dist3d_distancepoint(), lwcircstring_is_closed(), lwcollection_clip_to_ordinate_range(), lwcompound_is_closed(), LWGEOM2GEOS(), LWGEOM_dumppoints(), LWGEOM_expand(), LWGEOM_exteriorring_polygon(), lwgeom_homogenize(), lwgeom_isfinite(), lwgeom_maxdistance3d_tolerance(), lwgeom_mindistance3d_tolerance(), lwgeom_segmentize_sphere(), LWGEOM_snaptogrid_pointoff(), lwgeom_subdivide(), lwgeom_trim_bits_in_place(), lwgeom_write_to_buffer(), lwline_clip_to_ordinate_range(), lwline_from_lwmpoint(), lwline_interpolate_point_3d(), lwline_interpolate_points(), lwline_locate_along(), lwmline_locate_along(), lwmpoint_clip_to_ordinate_range(), lwmpoint_extract_points_4d(), lwmpoint_from_lwgeom(), lwmpoint_locate_along(), lwmpoint_median(), lwpoint_clip_to_ordinate_range(), lwpoint_locate_along(), pgis_geometry_union_finalfn(), ST_CollectionExtract(), ST_GeometricMedian(), ST_Scale(), test_lwline_interpolate_point_3d(), test_modification(), and TWKBFromLWGEOMArray().

Here is the caller graph for this function: