Exemple #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="other"></param>
        public Grid3d(Grid3d other)
        {
            _dx = other._dx;
            _dy = other._dy;
            _dz = other._dz;

            _tx = other._tx;
            _ty = other._ty;
            _tz = other._tz;

            _txInv = other._txInv;
            _tyInv = other._tyInv;
            _tzInv = other._tzInv;

            _nx  = other._nx;
            _ny  = other._ny;
            _nz  = other._nz;
            _nxy = other._nxy;
            _n   = other._n;

            _wrapX = other._wrapX;
            _wrapY = other._wrapY;
            _wrapZ = other._wrapZ;
        }
Exemple #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="countX"></param>
 /// <param name="countY"></param>
 /// <param name="countZ"></param>
 /// <returns></returns>
 public abstract GridField3d <T> Create(Grid3d grid);
Exemple #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="other"></param>
 public GridField3dVec3d(Grid3d other)
     : base(other)
 {
 }
Exemple #4
0
 /// <inheritdoc />
 public override GridField3d <Vec3d> Create(Grid3d grid)
 {
     return(new GridField3dVec3d(grid));
 }
Exemple #5
0
 /// <summary>
 /// Returns true if the grid has the same resolution in each dimension as another.
 /// </summary>
 /// <param name="other"></param>
 /// <returns></returns>
 public bool ResolutionEquals(Grid3d other)
 {
     return(_nx == other._nx && _ny == other._ny && _nz == other._nz);
 }
Exemple #6
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="other"></param>
 public GridField3dDouble(Grid3d other)
     : base(other)
 {
 }
Exemple #7
0
 /// <inheritdoc />
 public override GridField3d <double> Create(Grid3d grid)
 {
     return(new GridField3dDouble(grid));
 }