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.
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)
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 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.0 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 100.15 |
Relevant samples
Nearest vertex: Find the closest vertex and coordinate of a geometry to a point.