public class BinnedGSHHSLineReader.Bin
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
BinnedGSHHSLineReader.Bin.Segment
The
Segment class acts as a container for
GSHHS line segment data. |
Constructor and Description |
---|
Bin(int binIndex)
Creates a new bin from the specified index.
|
Modifier and Type | Method and Description |
---|---|
EarthLocation |
getCorner()
Gets the south-west corner earth location.
|
LineFeature |
getLineFeature(int index)
Gets an earth vector for the specified segment.
|
BinnedGSHHSLineReader.Bin.Segment |
getSegment(int index)
Gets the specified segment.
|
int |
getSegments()
Gets the number of segments.
|
public Bin(int binIndex) throws java.io.IOException
binIndex
- the bin index.java.io.IOException
BinnedGSHHSLineReader.getBinIndex(noaa.coastwatch.util.EarthLocation)
public int getSegments()
public BinnedGSHHSLineReader.Bin.Segment getSegment(int index)
public EarthLocation getCorner()
public LineFeature getLineFeature(int index)
index
- the index of the segment to convert.