public CellPlacementRasterPolicy(float cellSize, CellToHeightsMap heightMap, RasterVolumes volumes) { _cellSize = cellSize; _heightsMap = heightMap; _volumes = volumes; var volBounds = volumes.GetVolumeBounds(cellSize); _volumeCenter = volBounds.Center; _volumeHalfExtent = volBounds.HalfExtent; }
public VolumeCellRaster(RasterSettings settings) { _settings = settings; _volumes = new RasterVolumes(); }