/// <summary> /// /// </summary> /// <param name="other"></param> public Grid2d(Grid2d other) { _dx = other._dx; _dy = other._dy; _tx = other._tx; _ty = other._ty; _txInv = other._txInv; _tyInv = other._tyInv; _nx = other._nx; _ny = other._ny; _n = other._n; _wrapX = other._wrapX; _wrapY = other._wrapY; }
/// <summary> /// /// </summary> /// <param name="countX"></param> /// <param name="countY"></param> /// <param name="countZ"></param> /// <returns></returns> public abstract GridField2d <T> Create(Grid2d grid);
/// <summary> /// /// </summary> /// <param name="other"></param> /// <param name="sampleMode"></param> public GridField2dDouble(Grid2d other) : base(other) { }
/// <inheritdoc /> public override GridField2d <double> Create(Grid2d grid) { return(new GridField2dDouble(grid)); }
/// <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(Grid2d other) { return(_nx == other._nx && _ny == other._ny); }
/// <summary> /// /// </summary> /// <param name="other"></param> /// <param name="sampleMode"></param> public GridField2dVec2d(Grid2d other) : base(other) { }
/// <inheritdoc /> public override GridField2d <Vec2d> Create(Grid2d grid) { return(new GridField2dVec2d(grid)); }