object
RasterUtil extends AnyRef
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
final
def
b2i(n: Byte): Int
-
final
val
byteNodata: Byte(-128)
-
def
clone(): AnyRef
-
final
def
d2i(n: Double): Int
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
final
def
f2i(n: Float): Int
-
def
finalize(): Unit
-
final
def
getClass(): java.lang.Class[_]
-
def
hashCode(): Int
-
final
def
i2b(n: Int): Byte
-
final
def
i2d(n: Int): Double
-
final
def
i2f(n: Int): Float
-
final
def
i2s(n: Int): Short
-
final
def
isData(n: Double): Boolean
-
final
def
isData(n: Int): Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
isNodata(n: Double): Boolean
-
final
def
isNodata(n: Int): Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
s2i(n: Short): Int
-
final
val
shortNodata: Short(-32768)
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
The RasterUtil object contains a bunch of final values and methods used for no data checks and conversions. It's important to avoid using toInt and toDouble when converting raster values, since these methods don't have NODATA/Double.NaN conversion correctly.