MCPcopy Create free account
hub / github.com/dhale/jtk / getIndex

Method getIndex

core/src/main/java/edu/mines/jtk/awt/FloatColorMap.java:136–138  ·  view source on GitHub ↗

Gets the color index corresponding to the specified value. @param f the value to be mapped to index. @return the index in the range [0,255].

(float f)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

getARGBMethod · 0.95

Calls 1

getByteMethod · 0.80

Tested by

no test coverage detected