Uses of Class
org.hortonmachine.gears.io.grasslegacy.utils.Window
-
Packages that use Window Package Description org.hortonmachine.gears.io.grasslegacy.io org.hortonmachine.gears.io.grasslegacy.map org.hortonmachine.gears.io.grasslegacy.utils -
-
Uses of Window in org.hortonmachine.gears.io.grasslegacy.io
Fields in org.hortonmachine.gears.io.grasslegacy.io declared as Window Modifier and Type Field Description protected WindowMapReader. dataWindowprotected WindowMapWriter. dataWindowprotected WindowMapReader. fileWindowprotected WindowMapWriter. mapWindowMethods in org.hortonmachine.gears.io.grasslegacy.io that return Window Modifier and Type Method Description WindowCompressesRasterWriter. getDataWindow()WindowMapReader. getDataWindow()WindowMapReader. getMapWindow()WindowMapWriter. getMapWindow()Returns the window that corresponds to the map file that the reader has opened.Methods in org.hortonmachine.gears.io.grasslegacy.io with parameters of type Window Modifier and Type Method Description voidGrassRasterWriter. setDataWindow(Window window)voidMapReader. setDataWindow(Window window)Set the active reader window, i.e.voidMapWriter. setDataWindow(Window window)Constructors in org.hortonmachine.gears.io.grasslegacy.io with parameters of type Window Constructor Description CompressesRasterWriter(int _outputToDiskType, double[] _range, long _pointerInFilePosition, long[] _rowaddresses, Window _dataWindow)Preparing the environment for compressing and writing the map to disk -
Uses of Window in org.hortonmachine.gears.io.grasslegacy.map
Constructors in org.hortonmachine.gears.io.grasslegacy.map with parameters of type Window Constructor Description BuilderFromMapPath(Window readWindow, String mapPath)Constructor for theBuilderFromGeoresourcewith the required parameters.BuilderFromPathAndNames(Window readWindow, String mapName, String mapsetName, String locationPath)Constructor for theBuilderFromGeoresourcewith the required paraeters.JGrassRasterMapWriter(Window writeWindow, String mapPath, Object novalue, String mapType, IHMProgressMonitor monitor)Creates a jgrass raster map writer with some default valuesJGrassRasterMapWriter(Window writeWindow, String mapName, String mapsetName, String locationPath, Object novalue, String mapType, IHMProgressMonitor monitor)Creates a jgrass raster map writer with some default valuesJGrassRasterMapWriter(Window writeWindow, String mapName, String mapsetName, String locationPath, Object novalue, IHMProgressMonitor monitor)Creates a jgrass raster map writer with some default valuesJGrassRasterMapWriter(Window writeWindow, String mapName, String mapsetName, String locationPath, String mapType, IHMProgressMonitor monitor)Creates a jgrass raster map writer with some default valuesJGrassRasterMapWriter(Window writeWindow, String mapName, String mapsetName, String locationPath, IHMProgressMonitor monitor)Creates a jgrass raster map reader with some default values (data are read as double values, novalue is defaultGrassLegacyConstans.defaultNovalue). -
Uses of Window in org.hortonmachine.gears.io.grasslegacy.utils
Methods in org.hortonmachine.gears.io.grasslegacy.utils that return Window Modifier and Type Method Description static WindowWindow. adaptActiveRegionToEnvelope(org.locationtech.jts.geom.Envelope bounds, Window activeRegion)Takes an envelope and an active region and creates a new region to match the bounds of the envelope, but the resolutions of the active region.static WindowWindow. getActiveWindowFromMapset(String mapsetPath)Get the active region window from the mapsetstatic WindowGrassLegacyUtilities. getRectangleAroundPoint(Window activeRegion, double x, double y)return the rectangle of the cell of the active region, that surrounds the given coordinatesstatic WindowGrassLegacyUtilities. jgrassRegion2legacyWindow(org.geotools.gce.grassraster.JGrassRegion region)Methods in org.hortonmachine.gears.io.grasslegacy.utils with parameters of type Window Modifier and Type Method Description static WindowWindow. adaptActiveRegionToEnvelope(org.locationtech.jts.geom.Envelope bounds, Window activeRegion)Takes an envelope and an active region and creates a new region to match the bounds of the envelope, but the resolutions of the active region.static int[]GrassLegacyUtilities. coordinateToNearestRowCol(Window active, org.locationtech.jts.geom.Coordinate coord)Return the row and column of the active region matrix for a give coordinate *static WindowGrassLegacyUtilities. getRectangleAroundPoint(Window activeRegion, double x, double y)return the rectangle of the cell of the active region, that surrounds the given coordinatesstatic voidGrassLegacyUtilities. rasterizePolygonGeometry(Window active, org.locationtech.jts.geom.Geometry polygon, RasterData raster, RasterData rasterToMap, double value, IHMProgressMonitor monitor)Fill polygon areas mapping on a rasterstatic org.locationtech.jts.geom.CoordinateGrassLegacyUtilities. rowColToCenterCoordinates(Window active, int row, int col)Transforms row and column index of the active region into the regarding northing and easting coordinates.static double[]GrassLegacyUtilities. rowColToNodeboundCoordinates(Window active, int row, int col)Transforms row and column index of the active region into an array of the coordinates of the edgaes, i.e.voidWindow. setExtent(Window win)Sets the extent of this window using another window.static Point2D.DoubleWindow. snapToNextHigherInActiveRegionResolution(double x, double y, Window activeWindow)Moves the point given by X and Y to be on the grid of the active region.static voidWindow. writeActiveWindowToMapset(String mapsetPath, Window window)Write active region window to the mapsetstatic voidWindow. writeDefaultWindowToLocation(String locationPath, Window window)Write default region window to the PERMANENT mapsetConstructors in org.hortonmachine.gears.io.grasslegacy.utils with parameters of type Window Constructor Description Window(Window win)Creates a new instance of Window from another window object
-