Interface IFerryStationLayer
Assembly: SOHFerryModel.dll
Syntax
public interface IFerryStationLayer : IModalLayer, ILayer, IVectorLayer
Methods
Explore(Double[], Double, Func<FerryStation, Boolean>)
Executes a point query at the specified position to get all limited order of features
inside the radius in kilometre. Optional it can be filtered by a predicate over attribute table
Declaration
IEnumerable<FerryStation> Explore(double[] position, double radius = null, Func<FerryStation, bool> predicate = null)
Parameters
Type |
Name |
Description |
System.Double[] |
position |
The outgoing position (lat, lon) from which to start the query. |
System.Double |
radius |
The exploration radius in meter or -1 for infinite. |
Func<FerryStation, System.Boolean> |
predicate |
The optional predicate to filter out specific features |
Returns
Type |
Description |
IEnumerable<FerryStation> |
A collection with distance based order of the explored features. |
Nearest(Position, Func<FerryStation, Boolean>)
Tries to find the nearest
FerryStation for given parameters.
Declaration
FerryStation Nearest(Position position, Func<FerryStation, bool> predicate = null)
Parameters
Type |
Name |
Description |
Position |
position |
Start point to search by range. |
Func<FerryStation, System.Boolean> |
predicate |
Optional predicate to limit the result |
Returns