public class ShoreManager
extends java.lang.Object
Constructor and Description |
---|
ShoreManager() |
ShoreManager(MapFileManager mapFileManager) |
Modifier and Type | Method and Description |
---|---|
LatLong |
getIntercept(LatLong origin,
double bearing,
LatLong ll1,
LatLong ll2)
See if a line drawn at a given bearing from some origin intercepts a line
between two other points.
|
MapFileManager |
getMapFileManager() |
java.util.Vector<LatLong> |
getShoreInterceptList(LatLong origin,
double trueBearing) |
double[] |
getSortedShoreRanges(LatLong origin,
double trueBearing) |
void |
setMapFileManager(MapFileManager mapFileManager) |
public ShoreManager()
public ShoreManager(MapFileManager mapFileManager)
public MapFileManager getMapFileManager()
public void setMapFileManager(MapFileManager mapFileManager)
public java.util.Vector<LatLong> getShoreInterceptList(LatLong origin, double trueBearing)
public LatLong getIntercept(LatLong origin, double bearing, LatLong ll1, LatLong ll2)
origin
- origin of bearing linebearing
- true bearing (degrees clockwise from North)ll1
- lat long of start of line segmentll2
- lat long of end of line segmentpublic double[] getSortedShoreRanges(LatLong origin, double trueBearing)