public class SceneRasterTransformUtils extends Object
Constructor and Description |
---|
SceneRasterTransformUtils() |
Modifier and Type | Method and Description |
---|---|
static PixelPos |
transformFromImageCoordsToImageCoords(RasterDataNode from,
RasterDataNode to,
PixelPos orig)
Converts a
PixelPos from coordinates of one RasterDataNode raster
to coordinates of another RasterDataNode raster |
static Shape |
transformFromImageCoordsToImageCoords(RasterDataNode from,
RasterDataNode to,
Shape orig)
Converts a
Shape from coordinates of one RasterDataNode raster to coordinates of another RasterDataNode raster |
static Shape |
transformShapeToImageCoords(Shape shape,
SceneRasterTransform sceneRasterTransform)
|
static Shape |
transformShapeToSceneCoords(Shape shape,
SceneRasterTransform sceneRasterTransform)
|
static PixelPos |
transformToImageCoords(RasterDataNode rasterDataNode,
PixelPos orig)
Converts a
PixelPos from raster coordinates of the Product
to raster coordinates of a RasterDataNode |
static Shape |
transformToImageCoords(RasterDataNode rasterDataNode,
Shape orig)
|
static PixelPos |
transformToImageCoords(SceneRasterTransform sceneRasterTransform,
PixelPos orig)
Converts a
PixelPos from raster coordinates of the Product
to raster coordinates of a RasterDataNode |
static PixelPos |
transformToSceneCoords(RasterDataNode rasterDataNode,
PixelPos orig)
Converts a
PixelPos from raster coordinates of a RasterDataNode
to raster coordinates of the Product |
static Shape |
transformToSceneCoords(RasterDataNode rasterDataNode,
Shape orig)
|
public static PixelPos transformToSceneCoords(RasterDataNode rasterDataNode, PixelPos orig) throws SceneRasterTransformException
PixelPos
from raster coordinates of a RasterDataNode
to raster coordinates of the Product
rasterDataNode
- The RasterDataNode
from which to transformorig
- The PixelPos
in raster coordinates of a RasterDataNode
PixelPos
in raster coordinates of the Product
SceneRasterTransformException
- When the transformation could not be appliedpublic static PixelPos transformToImageCoords(RasterDataNode rasterDataNode, PixelPos orig) throws SceneRasterTransformException
PixelPos
from raster coordinates of the Product
to raster coordinates of a RasterDataNode
rasterDataNode
- The RasterDataNode
to which to transformorig
- The PixelPos
in raster coordinates of the Product
PixelPos
in raster coordinates of the RasterDataNode
SceneRasterTransformException
- When the transformation could not be appliedpublic static PixelPos transformToImageCoords(SceneRasterTransform sceneRasterTransform, PixelPos orig) throws SceneRasterTransformException
PixelPos
from raster coordinates of the Product
to raster coordinates of a RasterDataNode
sceneRasterTransform
- The SceneRasterTransform
to use to transformorig
- The PixelPos
in raster coordinates of the Product
PixelPos
in raster coordinates of the RasterDataNode
SceneRasterTransformException
- When the transformation could not be appliedpublic static PixelPos transformFromImageCoordsToImageCoords(RasterDataNode from, RasterDataNode to, PixelPos orig) throws SceneRasterTransformException
PixelPos
from coordinates of one RasterDataNode
raster
to coordinates of another RasterDataNode
rasterfrom
- The RasterDataNode
from which to transformto
- The RasterDataNode
to which to transformorig
- The PixelPos
in raster coords of the from RasterDataNode
PixelPos
in raster coords of the to RasterDataNode
SceneRasterTransformException
- When the transformation could not be appliedpublic static Shape transformToSceneCoords(RasterDataNode rasterDataNode, Shape orig) throws SceneRasterTransformException
rasterDataNode
- The RasterDataNode
from which to transformorig
- The Shape
in RasterDataNode
raster coordinatesShape
in Product
raster coordinatesSceneRasterTransformException
- When the transformation could not be appliedpublic static Shape transformToImageCoords(RasterDataNode rasterDataNode, Shape orig) throws SceneRasterTransformException
rasterDataNode
- The RasterDataNode
to which to transformorig
- The Shape
in Product
raster coordinatesShape
in RasterDataNode
raster coordinatesSceneRasterTransformException
- When the transformation could not be appliedpublic static Shape transformFromImageCoordsToImageCoords(RasterDataNode from, RasterDataNode to, Shape orig) throws SceneRasterTransformException
Shape
from coordinates of one RasterDataNode
raster to coordinates of another RasterDataNode
rasterfrom
- The RasterDataNode
from which to transformto
- The RasterDataNode
to which to transformorig
- The Shape
in raster coordinates of the from RasterDataNode
Shape
in raster coordinates of the to RasterDataNode
SceneRasterTransformException
- When the transformation could not be appliedpublic static Shape transformShapeToSceneCoords(Shape shape, SceneRasterTransform sceneRasterTransform) throws SceneRasterTransformException
sceneRasterTransform
- The SceneRasterTransform
to be used to transformshape
- The Shape
in RasterDataNode
raster coordinatesShape
in Product
raster coordinatesSceneRasterTransformException
- when the transformation could not be appliedpublic static Shape transformShapeToImageCoords(Shape shape, SceneRasterTransform sceneRasterTransform) throws SceneRasterTransformException
sceneRasterTransform
- The SceneRasterTransform
to be used to transformshape
- The Shape
in Product
raster coordinatesShape
in RasterDataNode
raster coordinatesSceneRasterTransformException
- when the transformation could not be appliedCopyright © 2014–2015 European Space Agency (ESA). All rights reserved.