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 double
getContourLevel()
int
getNumPoints()
Get number of points in this part.double[]
getX()
Get x coordinates for this part.double[]
getY()
Get y coordinates for this part.boolean
isNewLine()
void
setNewLineFlag(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:GisPart
Get number of points in this part.- Specified by:
getNumPoints
in interfaceGisPart
- Returns:
- number of points in this part.
-
getX
public double[] getX()
Description copied from interface:GisPart
Get x coordinates for this part.
-
getY
public double[] getY()
Description copied from interface:GisPart
Get y coordinates for this part.
-
getContourLevel
public double getContourLevel()
-
isNewLine
public boolean isNewLine()
-
setNewLineFlag
public void setNewLineFlag(boolean newflag)
-
-