public class Graticule extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Graticule.TextGlyph |
static class |
Graticule.TextLocation |
Modifier and Type | Field and Description |
---|---|
static int |
BOTTOM_LEFT_CORNER_INDEX |
static int |
BOTTOM_RIGHT_CORNER_INDEX |
static int |
TOP_LEFT_CORNER_INDEX |
static int |
TOP_RIGHT_CORNER_INDEX |
Modifier and Type | Method and Description |
---|---|
static Graticule |
create(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() |
public static int TOP_LEFT_CORNER_INDEX
public static int TOP_RIGHT_CORNER_INDEX
public static int BOTTOM_RIGHT_CORNER_INDEX
public static int BOTTOM_LEFT_CORNER_INDEX
public GeneralPath[] getLinePaths()
public Graticule.TextGlyph[] getTextGlyphsNorth()
public Graticule.TextGlyph[] getTextGlyphsSouth()
public Graticule.TextGlyph[] getTextGlyphsWest()
public Graticule.TextGlyph[] getTextGlyphsEast()
public Graticule.TextGlyph[] getTextGlyphsLatCorners()
public Graticule.TextGlyph[] getTextGlyphsLonCorners()
public PixelPos[] getTickPointsNorth()
public PixelPos[] getTickPointsSouth()
public PixelPos[] getTickPointsWest()
public PixelPos[] getTickPointsEast()
public static Graticule create(RasterDataNode raster, int desiredNumGridLines, double latMajorStep, double lonMajorStep, boolean formatCompass, boolean decimalFormat)
raster
- the productdesiredNumGridLines
- the grid cell size in pixelslatMajorStep
- the grid cell size in meridional directionlonMajorStep
- the grid cell size in parallel directionCopyright © 2014–2022 European Space Agency (ESA). All rights reserved.