コード例 #1
0
ファイル: Grid3d.cs プロジェクト: DharmanGersch/SpatialSlur
 /// <summary>
 /// Applies a wrap function to the given index based on the current wrap mode.
 /// </summary>
 /// <param name="j"></param>
 /// <returns></returns>
 public int WrapY(int j)
 {
     return(GridUtil.Wrap(j, _ny, _wrapModeY));
 }
コード例 #2
0
ファイル: Grid3d.cs プロジェクト: DharmanGersch/SpatialSlur
 /// <summary>
 /// Applies a wrap function to the given index based on the current wrap mode.
 /// </summary>
 /// <param name="k"></param>
 /// <returns></returns>
 public int WrapZ(int k)
 {
     return(GridUtil.Wrap(k, _nz, _wrapModeZ));
 }
コード例 #3
0
ファイル: Grid3d.cs プロジェクト: DharmanGersch/SpatialSlur
 /// <summary>
 /// Applies a wrap function to the given index based on the current wrap mode.
 /// </summary>
 /// <param name="i"></param>
 /// <returns></returns>
 public int WrapX(int i)
 {
     return(GridUtil.Wrap(i, _nx, _wrapModeX));
 }