public FilteringData(IData3D <T> child, int xStep, int yStep, int zStep) { if (child == null) { throw new ArgumentNullException("child"); } if (xStep <= 1) { throw new ArgumentOutOfRangeException("xStep", "Should be greater than 1."); } if (yStep <= 1) { throw new ArgumentOutOfRangeException("yStep", "Should be greater than 1."); } if (zStep <= 1) { throw new ArgumentOutOfRangeException("zStep", "Should be greater than 1."); } this.child = child; this.xStep = xStep; this.yStep = yStep; this.zStep = zStep; }
public UniformField3DWrapper(IData3D<Vector3D> field, int width, int height, int depth) { if (field == null) throw new ArgumentNullException("field"); if (width <= 1) throw new ArgumentOutOfRangeException("width"); if (height <= 1) throw new ArgumentOutOfRangeException("height"); if (depth <= 1) throw new ArgumentOutOfRangeException("depth"); this.field = field; this.width = width; this.height = height; this.depth = depth; }
public UniformField3DWrapper(IData3D <Vector3D> field, int width, int height, int depth) { if (field == null) { throw new ArgumentNullException("field"); } if (width <= 1) { throw new ArgumentOutOfRangeException("width"); } if (height <= 1) { throw new ArgumentOutOfRangeException("height"); } if (depth <= 1) { throw new ArgumentOutOfRangeException("depth"); } this.field = field; this.width = width; this.height = height; this.depth = depth; }
public MagnitudeData3D(IData3D <Vector3D> data) { this.data = data; }