Package noaa.coastwatch.render.feature
Class LineFeatureSource
java.lang.Object
noaa.coastwatch.render.feature.AbstractFeatureSource
noaa.coastwatch.render.feature.LineFeatureSource
- All Implemented Interfaces:
Iterable<Feature>,FeatureSource
- Direct Known Subclasses:
BinnedGSHHSLineReader,ContourGenerator,GSHHSReader,PolygonFeatureSource,TSVectorReader
The
LineFeatureSource class supplies methods that read
or generate vector-specified earth data such as coast lines,
political boundaries, bathymetry, and so on. A source must have
the capability to select data from the data source and supply it as
a list of LineFeature objects.- Since:
- 3.1.1
- Author:
- Peter Hollemans
-
Field Summary
Fields inherited from class noaa.coastwatch.render.feature.AbstractFeatureSource
area, featureList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrender(Graphics2D g, EarthImageTransform trans) Renders the selected line feature data to a graphics context.Methods inherited from class noaa.coastwatch.render.feature.AbstractFeatureSource
getArea, getAttributeCount, getAttributeNameMap, getAttributes, getFilter, iterator, select, select, setAttributes, setFilterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
LineFeatureSource
public LineFeatureSource()
-
-
Method Details
-
render
Renders the selected line feature data to a graphics context.- Parameters:
g- the graphics context for drawing.trans- the earth image transform for converting Earth locations to image points.
-