/// <summary> /// Creates a partitioner tha allows steppable debugging. /// </summary> /// <param name="config">The config with partitioning info.</param> /// <param name="segmentAllocator">The segment allocator to create new /// BSP segments when splitting.</param> /// <param name="junctionClassifier">The junction classifier to update /// with new junctions.</param> public Partitioner(BspConfig config, SegmentAllocator segmentAllocator, JunctionClassifier junctionClassifier) { BspConfig = config; SegmentAllocator = segmentAllocator; JunctionClassifier = junctionClassifier; }
public SplitCalculator(BspConfig bspConfig, CollinearTracker collinearTracker) { this.bspConfig = bspConfig; this.collinearTracker = collinearTracker; }