Version

GetPreviousOrExactIndexHelper Method

Helps in getting the previous index that is near a given world position.
Syntax
'Declaration
 
Protected Friend Function GetPreviousOrExactIndexHelper( _
   ByVal world As Point, _
   ByVal skipUnknowns As Boolean, _
   ByVal indexAxis As Axis, _
   ByVal getExactUnsortedIndex As Func(Of Point,Double), _
   ByVal valueColumn As IList(Of Double) _
) As Integer
protected internal int GetPreviousOrExactIndexHelper( 
   Point world,
   bool skipUnknowns,
   Axis indexAxis,
   Func<Point,double> getExactUnsortedIndex,
   IList<double> valueColumn
)

Parameters

world
The world position to use in searching.
skipUnknowns
Should unknown values be skipped when searching.
indexAxis
The axis associated with the indexes.
getExactUnsortedIndex
Gets an unsorted exact index from a sorting axis.
valueColumn
The column of values to check for unknowns against.

Return Value

The found index, otherwise, -1.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also