data | 処理対象の3次元データ。 The 3-D data to treat. |
direction | 位置の増分の方向。
\(x\)方向なら0、\(y\)方向なら1、\(z\)方向なら2を与える。 The direction of the increment of the location: 0 for \(x\)-direction, 1 for \(y\)-direction, and 2 for \(z\)-direction. |
引数directionの値 The value of argument direction |
位置をずらす方向 The direction of the increment of the location |
戻り値 Return value |
0 | \(x\) | data.N[1]∗data.N[2] |
1 | \(y\) | data.N[2] |
2 | \(z\) | 1 |