MultiThreadMatrixGetSlot Method | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Returns the slot value (row index) for the specified
LatLon
Namespace:
Telogis.GeoBase.Routing
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public int GetSlot(
LatLon location
)
Public Function GetSlot (
location As LatLon
) As Integer
Parameters
- location
- Type: Telogis.GeoBaseLatLon
The LatLon for which to retrieve the slot value.
Return Value
Type:
Int32The slot value of the specified
LatLon.
Exceptions Examples
RouteStop stop_A = new RouteStop(33.83818, -117.90488);
RouteStop stop_B = new RouteStop(33.82960, -117.90041);
MultiThreadMatrix myMTM = new MultiThreadMatrix(new RouteStop[] {stop_A, stop_B }, new RoutingStrategyFastest());
string sSlot = (myMTM.GetSlot(stop_A.Location)).ToString();
Console.WriteLine("stop_A slot = " + sSlot);
See Also