24 lines
567 B
C#
24 lines
567 B
C#
/*
|
||
* PÔVODNÝ ALGORITMUS – zakomentovaný, nahradený LayerPacker
|
||
*
|
||
using System;
|
||
using System.Collections.Generic;
|
||
using System.Linq;
|
||
|
||
namespace BoxPacker3D
|
||
{
|
||
public class Packer3D
|
||
{
|
||
private const double EPS = 0.001;
|
||
|
||
public List<PackedItem> Pack(List<Item> items, Box box,
|
||
double wallPad = 0, double itemPad = 0, Action<int, int>? onProgress = null,
|
||
bool allowRotation = true, bool preferRotated = false)
|
||
{
|
||
// ... (Extreme Points algorithm)
|
||
}
|
||
// ... helper methods
|
||
}
|
||
}
|
||
*/
|