PlotPointCollectionClosestPointIndex Method
Return the index of the closest point to the provided location from the
supplied collection of points.
Namespace: SvgPlottingAssembly: SvgPlotting (in SvgPlotting.dll) Version: 25.2714.4126
public static int ClosestPointIndex(
FVector2 location,
PlotPointCollection points
)
Public Shared Function ClosestPointIndex (
location As FVector2,
points As PlotPointCollection
) As Integer
No code example is currently available or this language may not be supported.
- location FVector2
-
Reference to the location to match or approximate.
- points PlotPointCollection
-
Reference to the collection of points to test.
Int32
Index of the member of the points location closest to the
specified location, if found. Otherwise, -1.