Package org.esa.snap.core.datamodel
Class Graticule
- java.lang.Object
- 
- org.esa.snap.core.datamodel.Graticule
 
- 
 public class Graticule extends Object A geometric representation of a geographical grid measured in longitudes and latitudes.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classGraticule.TextGlyphstatic classGraticule.TextLocation
 - 
Field SummaryFields Modifier and Type Field Description static intBOTTOM_LEFT_CORNER_INDEXstatic intBOTTOM_RIGHT_CORNER_INDEXstatic intTOP_LEFT_CORNER_INDEXstatic intTOP_RIGHT_CORNER_INDEX
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Graticulecreate(RasterDataNode raster, int desiredNumGridLines, double latMajorStep, double lonMajorStep, boolean formatCompass, boolean decimalFormat)Creates a graticule for the given product.GeneralPath[]getLinePaths()Graticule.TextGlyph[]getTextGlyphsEast()Graticule.TextGlyph[]getTextGlyphsLatCorners()Graticule.TextGlyph[]getTextGlyphsLonCorners()Graticule.TextGlyph[]getTextGlyphsNorth()Graticule.TextGlyph[]getTextGlyphsSouth()Graticule.TextGlyph[]getTextGlyphsWest()PixelPos[]getTickPointsEast()PixelPos[]getTickPointsNorth()PixelPos[]getTickPointsSouth()PixelPos[]getTickPointsWest()
 
- 
- 
- 
Method Detail- 
getLinePathspublic GeneralPath[] getLinePaths() 
 - 
getTextGlyphsNorthpublic Graticule.TextGlyph[] getTextGlyphsNorth() 
 - 
getTextGlyphsSouthpublic Graticule.TextGlyph[] getTextGlyphsSouth() 
 - 
getTextGlyphsWestpublic Graticule.TextGlyph[] getTextGlyphsWest() 
 - 
getTextGlyphsEastpublic Graticule.TextGlyph[] getTextGlyphsEast() 
 - 
getTextGlyphsLatCornerspublic Graticule.TextGlyph[] getTextGlyphsLatCorners() 
 - 
getTextGlyphsLonCornerspublic Graticule.TextGlyph[] getTextGlyphsLonCorners() 
 - 
getTickPointsNorthpublic PixelPos[] getTickPointsNorth() 
 - 
getTickPointsSouthpublic PixelPos[] getTickPointsSouth() 
 - 
getTickPointsWestpublic PixelPos[] getTickPointsWest() 
 - 
getTickPointsEastpublic PixelPos[] getTickPointsEast() 
 - 
createpublic static Graticule create(RasterDataNode raster, int desiredNumGridLines, double latMajorStep, double lonMajorStep, boolean formatCompass, boolean decimalFormat) Creates a graticule for the given product.- Parameters:
- raster- the product
- desiredNumGridLines- the grid cell size in pixels
- latMajorStep- the grid cell size in meridional direction
- lonMajorStep- the grid cell size in parallel direction
- Returns:
- the graticule or null, if it could not be created
 
 
- 
 
-