Package com.metsci.glimpse.charts.bathy
Class ContourData
- java.lang.Object
-
- com.metsci.glimpse.charts.bathy.ContourData
-
-
Constructor Summary
Constructors Constructor Description ContourData(TopographyData bathymetryData, GeoProjection tp, double[] levels)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddrawContour(double startX, double startY, double endX, double endY, double contourLevel)drawContour - interface for implementing the user supplied method to render the countours.float[]getCoordsX()float[]getCoordsY()
-
-
-
Constructor Detail
-
ContourData
public ContourData(TopographyData bathymetryData, GeoProjection tp, double[] levels)
-
-
Method Detail
-
drawContour
public void drawContour(double startX, double startY, double endX, double endY, double contourLevel)Description copied from interface:RenderdrawContour - interface for implementing the user supplied method to render the countours. Draws a line between the start and end coordinates.- Specified by:
drawContourin interfaceRender- Parameters:
startX- - start coordinate for XstartY- - start coordinate for YendX- - end coordinate for XendY- - end coordinate for YcontourLevel- - Contour level for line.
-
getCoordsX
public float[] getCoordsX()
-
getCoordsY
public float[] getCoordsY()
-
-