org.esa.beam.framework.datamodel
Class Graticule
java.lang.Object
org.esa.beam.framework.datamodel.Graticule
public class Graticule
- extends Object
A geometric representation of a geographical grid measured in longitudes and latitudes.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getLinePaths
public GeneralPath[] getLinePaths()
getTextGlyphs
public Graticule.TextGlyph[] getTextGlyphs()
create
public static Graticule create(Product product,
boolean autoDeterminingSteps,
int gridCellSize,
float latMajorStep,
float lonMajorStep)
- Creates a graticule for the given product.
- Parameters:
product - the productautoDeterminingSteps - if true, gridCellSize is used to compute latMajorStep, lonMajorStep for the given productgridCellSize - the grid cell size in pixels, ignored if autoDeterminingSteps if falselatMajorStep - the grid cell size in meridional direction, ignored if autoDeterminingSteps if truelonMajorStep - the grid cell size in parallel direction, ignored if autoDeterminingSteps if true
- Returns:
- the graticule or null, if it could not be created
create
public static Graticule create(RasterDataNode raster,
boolean autoDeterminingSteps,
int gridCellSize,
float latMajorStep,
float lonMajorStep)
- Creates a graticule for the given product.
- Parameters:
raster - the productautoDeterminingSteps - if true, gridCellSize is used to compute latMajorStep, lonMajorStep for the given productgridCellSize - the grid cell size in pixels, ignored if autoDeterminingSteps if falselatMajorStep - the grid cell size in meridional direction, ignored if autoDeterminingSteps if truelonMajorStep - the grid cell size in parallel direction, ignored if autoDeterminingSteps if true
- Returns:
- the graticule or null, if it could not be created
Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.