Package ucar.nc2.ui.grid
Class ContourLine
- java.lang.Object
-
- ucar.nc2.ui.grid.ContourLine
-
-
Constructor Summary
Constructors Constructor Description ContourLine(ArrayList points, double level, boolean ifNew)ContourLine(List<Point2D.Double> points, double level)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetContourLevel()intgetNumPoints()Get number of points in this part.double[]getX()Get x coordinates for this part.double[]getY()Get y coordinates for this part.booleanisNewLine()voidsetNewLineFlag(boolean newflag)
-
-
-
Constructor Detail
-
ContourLine
public ContourLine(List<Point2D.Double> points, double level)
-
ContourLine
public ContourLine(ArrayList points, double level, boolean ifNew)
-
-
Method Detail
-
getNumPoints
public int getNumPoints()
Description copied from interface:GisPartGet number of points in this part.- Specified by:
getNumPointsin interfaceGisPart- Returns:
- number of points in this part.
-
getX
public double[] getX()
Description copied from interface:GisPartGet x coordinates for this part.
-
getY
public double[] getY()
Description copied from interface:GisPartGet y coordinates for this part.
-
getContourLevel
public double getContourLevel()
-
isNewLine
public boolean isNewLine()
-
setNewLineFlag
public void setNewLineFlag(boolean newflag)
-
-