recalc track rules, reorg detours
This commit is contained in:
parent
25e506dcbe
commit
32b258c188
3 changed files with 135 additions and 4 deletions
|
|
@ -8,6 +8,8 @@ package btools.mapaccess;
|
|||
import java.io.DataInput;
|
||||
import java.io.DataOutput;
|
||||
import java.io.IOException;
|
||||
import java.util.List;
|
||||
import java.util.ArrayList;
|
||||
|
||||
public final class MatchedWaypoint {
|
||||
public OsmNode node1;
|
||||
|
|
@ -17,7 +19,11 @@ public final class MatchedWaypoint {
|
|||
public String name; // waypoint name used in error messages
|
||||
public double radius; // distance in meter between waypoint and crosspoint
|
||||
public boolean direct; // from this point go direct to next = beeline routing
|
||||
public int indexInTrack = 0;
|
||||
public double directionToNext = -1;
|
||||
public double directionDiff = 361;
|
||||
|
||||
public List<MatchedWaypoint> wayNearest = new ArrayList<>();
|
||||
public boolean hasUpdate;
|
||||
|
||||
public void writeToStream(DataOutput dos) throws IOException {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue