NearestDyn

Top  Previous  Next

This method will locate the nearest item in LL, calculated from the location. It returns the index of the item.

 

If returning -1, nothing was found.

 

Syntax: NearestDyn(Loc: TLocation; LL: TLocationList): integer