public CutterST(Core Core) : base(Core) { // init cutter cutter = new MeshCutter(); cutter.Init(512, 512); newFragments = new HashSet <MeshObject>(); meshToRemove = new HashSet <MeshObject>(); cuttingPlane = new CuttingPlane(Core); }
public CutterST(Core Core) : base(Core) { // init cutter cutter = new MeshCutter(); cutter.Init(512, 512); newFragments = new HashSet <MeshObject>(); meshToRemove = new HashSet <MeshObject>(); random = new System.Random(0); }
public CutterWorker(Core core, CuttingPlane cuttingPlane) { cutter = new MeshCutter(); cutter.Init(512, 512); newFragments = new HashSet <MeshObject>(); meshToRemove = new HashSet <MeshObject>(); meshSet = new HashSet <MeshObject>(); this.cuttingPlane = cuttingPlane; this.core = core; thread = new Thread(ThreadRun); thread.IsBackground = true; thread.Start(); }
public CutterWorker(Core core, System.Random random) { cutter = new MeshCutter(); cutter.Init(512, 512); newFragments = new HashSet <MeshObject>(); meshToRemove = new HashSet <MeshObject>(); meshSet = new HashSet <MeshObject>(); this.random = random; this.core = core; thread = new Thread(ThreadRun); thread.IsBackground = true; thread.Start(); }
public PartialSeparator(Core Core) : base(Core) { // init cutter cutter = new MeshCutter(); cutter.Init(512, 512); }