Show / Hide Table of Contents

Method NormalizeCentralMeridian

NormalizeCentralMeridian(Geometry)

Folds the geometry into a range of 360 degrees. This may be necessary when wrap around is enabled on the map. If Geometry is an Envelope then a Polygon will be returned unless the Envelope is empty then and Empty Envelope will be returned.

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

The geometry that you want folded.

Returns
Type Description
Geometry

The folded geometry

Remarks

Supports true curves.

Exceptions
Type Condition
System.ArgumentNullException

geometry or geometry.SpatialReference

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.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7
Relevant samples
Create, delete, and update features: Add, delete, and update features (geometry and attributes) in a feature layer.
Convex hull: Create a convex hull for a given set of points. The convex hull is a polygon with shortest perimeter that encloses a set of points. As a visual analogy, consider a set of points as nails in a board. The convex hull of the points would be like a rubber band stretched around the outermost nails.
Feature layer selection: Select features in a feature layer.
Nearest vertex: Find the closest vertex and coordinate of a geometry to a point.
In This Article
Back to top Copyright © 2022 Esri.