コード例 #1
0
 /// <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;
 }
コード例 #2
0
 public SplitCalculator(BspConfig bspConfig, CollinearTracker collinearTracker)
 {
     this.bspConfig        = bspConfig;
     this.collinearTracker = collinearTracker;
 }