Show / Hide Table of Contents

Method RemoveZ

RemoveZ(Geometry)

Return a copy of the given geometry with its z-coordinate removed.

Declaration
public static Geometry RemoveZ(this Geometry geometry)
Parameters
Type Name Description
Geometry geometry

A geometry.

Returns
Type Description
Geometry

A copy of the given geometry with its z-coordinate removed.

Remarks

The resulting geometry will have HasM false. If the given geometry has no z-values the given geometry is returned.

Supports true curves.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.1 - 200.7
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 200.7
Relevant samples
Trace utility network: Discover connected features in a utility network using connected, subnetwork, upstream, and downstream traces.
In This Article
Back to top Copyright © 2022 Esri.