public class InfoToolHelperUtils extends Object
InfoToolHelper
classes.Constructor and Description |
---|
InfoToolHelperUtils() |
Modifier and Type | Method and Description |
---|---|
static Number[] |
asNumberArray(Object objArray)
Convert the Object returned by GridCoverage2D.evaluate(DirectPosition) into an
array of
Numbers . |
static DirectPosition2D |
getTransformed(DirectPosition2D pos,
MathTransform transform)
Transforms a position.
|
public static DirectPosition2D getTransformed(DirectPosition2D pos, MathTransform transform)
transform
is null
the original position is
returned.pos
- the positionpublic static Number[] asNumberArray(Object objArray)
Numbers
.objArray
- an Object representing a primitive arrayCopyright © 1996–2019 Geotools. All rights reserved.