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

public abstract class LineFeatureSource extends AbstractFeatureSource
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
  • Constructor Details

    • LineFeatureSource

      public LineFeatureSource()
  • Method Details

    • render

      public void render(Graphics2D g, EarthImageTransform trans)
      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.