Map
Class StraightLineGrid
java.lang.Object
Map.StraightLineGrid
public class StraightLineGrid
- extends java.lang.Object
- Author:
- David McLaren \n Generates straight Lat/Long lines and Strings for
e.g. MapRectProjector
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pixelsPerMetre
double pixelsPerMetre
panelWidth
int panelWidth
panelHeight
int panelHeight
mapRotation
double mapRotation
mapRangeMetres
double mapRangeMetres
panelTopLeftLL
LatLong panelTopLeftLL
panelTopRightLL
LatLong panelTopRightLL
panelLowerLeftLL
LatLong panelLowerLeftLL
panelLowerRightLL
LatLong panelLowerRightLL
latLinesPerDegree
double latLinesPerDegree
longLinesPerDegree
double longLinesPerDegree
numLatLines
int numLatLines
numLongLines
int numLongLines
lineGradient
private double lineGradient
b
private double b
intersectPoint
private Coordinate3d intersectPoint
intersectPoint2
private Coordinate3d intersectPoint2
StraightLineGrid
public StraightLineGrid()
drawGrid
public void drawGrid(java.awt.Graphics2D g2d,
MapRectProjector rectProj)
setPanelHeight
public void setPanelHeight(int height)
setPanelWidth
public void setPanelWidth(int width)
setPixelsPerMetre
public void setPixelsPerMetre(double pixelsPerMetre)
setLatLinesPerDegree
public void setLatLinesPerDegree(double latLinesPerDegree)
setLongLinesPerDegree
public void setLongLinesPerDegree(double longLinesPerDegree)
setMapRangeMetres
public void setMapRangeMetres(double mapRangeMetres)
setMapRotation
public void setMapRotation(double mapRotation)