Show / Hide Table of Contents

Class ProximityResult

Instances of this class represent results of a proximity search using NearestVertex(Geometry, MapPoint) or NearestCoordinate(Geometry, MapPoint) Methods to find the nearest vertex or a coordinate of a geometry.

Inheritance
Object
ProximityResult
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Esri.ArcGISRuntime.Geometry
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class ProximityResult

Properties

Name Description
Coordinate

Gets the point found.

Distance

Gets the result distance.

PartIndex

Gets the index of the part in which the point was found.

PointIndex

Gets the index of the point that was found within its part.

See Also

NearestCoordinate(Geometry, MapPoint)
NearestVertex(Geometry, MapPoint)

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 Android200
.NET 6.0 iOS200
.NET Framework100.0 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.0 - 100.15
iOS100.0 - 100.15
UWP100.0 - 200.0

Relevant samples

Nearest vertex: Find the closest vertex and coordinate of a geometry to a point.
In This Article
Back to top Copyright © 2022 Esri.