Geometry DropMs( Geometry geometry, bool allowNonMGeometry )
Overloads Function DropMs( _ ByVal geometry As Geometry, _ ByVal allowNonMGeometry As Boolean _ ) As Geometry
Parameters
- geometry
- The input geometry.
- allowNonMGeometry
- If true, then a new geometry is returned with the Geometry.HasM property set to true no matter if the input geometry has the property set to true or not. If false and the geometry Geometry.HasM property is false, then an exception will be thrown.
Return Value
The geometry with the M-values set to NaN. If the geometry is empty and the Geometry.HasM property is true, then the input geometry is returned unchanged. Otherwise, if allowNonMGeometry is true, a new geometry is returned with the Geometry.HasM property set to true.