descore ~master (2015-04-21T20:17:28Z)
Dub
Repo
getOrigIndexByLayerCoord
des
il
util
get line index in origin array by layer line index and layer number
size_t
getOrigIndexByLayerCoord
pure
(
A
)
(
in
A
[]
size
,
size_t
dimNo
,
size_t
layerIndex
,
size_t
layerNo
)
if
(
isIntegral
!
A
)
in { assert (isAllCompPositive(size), "negative size"); assert (dimNo < size.length); }
Meta
Source
See Implementation
des
il
util
classes
ImageException
functions
getCoord
getIndex
getOrigIndexByLayerCoord
isAllCompPositive
redimSize
get line index in origin array by layer line index and layer number