ProximityResult NearestVertex( Geometry geometry, MapPoint point )
Function NearestVertex( _ ByVal geometry As Geometry, _ ByVal point As MapPoint _ ) As ProximityResult
Parameters
- geometry
- The geometry.
- point
- The point to which the returned vertex will be nearest.
Return Value
ProximityResult.
ProximityResult.PointIndex is the index of the nearest vertex.
ProximityResult.SegmentIndex is null.
ProximityResult.PartIndex is the index of the part containing the nearesst vertex.
Proximity.RightSide = false.