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.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.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
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.0 - 200.8 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 200.8 |
Relevant samples
Nearest vertex: Find the closest vertex and coordinate of a geometry to a point.