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

Method getIndex

core/src/main/java/edu/mines/jtk/awt/ColorMap.java:214–218  ·  view source on GitHub ↗

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

(double v)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

getColorMethod · 0.95
getRgbFloatsMethod · 0.95
setEigenvectorUMethod · 0.45
setEigenvectorWMethod · 0.45

Calls 3

ulpMethod · 0.80
maxMethod · 0.45
minMethod · 0.45

Tested by

no test coverage detected