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
System.Object
ProximityResult
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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.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

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