returns the index of the closest shape in the given collection of records

Namespace:  EGIS.ShapeFileLib
Assembly:  EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)

Syntax

Visual Basic
Public Function GetClosestShape ( _
	centre As PointD, _
	radius As Double, _
	recordIndices As List(Of Integer), _
	<OutAttribute> ByRef polylineDistanceInfo As PolylineDistanceInfo _
) As Integer
C#
public int GetClosestShape(
	PointD centre,
	double radius,
	List<int> recordIndices,
	out PolylineDistanceInfo polylineDistanceInfo
)
Visual C++
public:
int GetClosestShape(
	PointD centre, 
	double radius, 
	List<int>^ recordIndices, 
	[OutAttribute] PolylineDistanceInfo% polylineDistanceInfo
)
JavaScript
function getClosestShape(centre, radius, recordIndices, polylineDistanceInfo);

Parameters

centre
Type: EGIS.ShapeFileLib..::..PointD
radius
Type: System..::..Double
recordIndices
Type: System.Collections.Generic..::..List<(Of <(<'Int32>)>)>
polylineDistanceInfo
Type: EGIS.ShapeFileLib..::..PolylineDistanceInfo%

Return Value

See Also