brouter/brouter-codec/src/main/java/btools/codec/WaypointMatcher.java
2024-10-21 10:08:09 +02:00

16 lines
376 B
Java

package btools.codec;
/**
* a waypoint matcher gets way geometries
* from the decoder to find the closest
* matches to the waypoints
*/
public interface WaypointMatcher {
boolean start(int ilonStart, int ilatStart, int ilonTarget, int ilatTarget, boolean useAsStartWay);
void transferNode(int ilon, int ilat);
void end();
boolean hasMatch(int lon, int lat);
}