PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ lwgeom_has_m()

int lwgeom_has_m ( const LWGEOM geom)

Return LW_TRUE if geometry has M ordinates.

Definition at line 941 of file lwgeom.c.

942 {
943  if ( ! geom ) return LW_FALSE;
944  return FLAGS_GET_M(geom->flags);
945 }
#define LW_FALSE
Definition: liblwgeom.h:94
#define FLAGS_GET_M(flags)
Definition: liblwgeom.h:166
lwflags_t flags
Definition: liblwgeom.h:461

References LWGEOM::flags, FLAGS_GET_M, and LW_FALSE.

Referenced by analyze_geometry_flags(), do_median_test(), geography_interpolate_points(), gserialized_distance_nd(), lwcollection_clip_to_ordinate_range(), lwgeom_boundary(), lwgeom_centroid(), lwgeom_cluster_kmeans(), lwgeom_cpa_within(), LWGEOM_dumppoints(), LWGEOM_dumpsegments(), LWGEOM_expand(), LWGEOM_exteriorring_polygon(), LWGEOM_FilterByM(), lwgeom_homogenize(), lwgeom_interpolate_point(), lwgeom_isfinite(), lwgeom_locate_along(), lwgeom_locate_between(), lwgeom_pointonsurface(), lwgeom_project_spheroid(), lwgeom_segmentize_sphere(), LWGEOM_snaptogrid_pointoff(), LWGEOM_startpoint_linestring(), lwgeom_subdivide_prec(), lwgeom_tcpa(), 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(), lwpoint_clip_to_ordinate_range(), lwpoint_locate_along(), lwpoint_project(), lwpoint_project_lwpoint(), rt_raster_copy_to_geometry(), ST_CollectionExtract(), ST_Scale(), test_lwline_interpolate_point_3d(), test_modification(), and TWKBFromLWGEOMArray().

Here is the caller graph for this function: