Beispiel #1
0
 public ChaserQueryNode(IChaserQueryNode <Coords> parent, IChaserNode node, Func <IReadOnlyList <IChaserNode>, IReadOnlyList <Coords> > packingAlgorithm, Coords coords)
 {
     Parent            = parent;
     _node             = node;
     _packingAlgorithm = packingAlgorithm;
     _coords           = coords;
     IsUpdateNeeded    = true;
 }
Beispiel #2
0
 internal void SetRoot(IChaserQueryNode <Range1D> root)
 {
     Root = root;
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="node">The query node.</param>
 /// <param name="offset">The offset within the query node.</param>
 public ChaserQueryNodeOffset(IChaserQueryNode <Coords> node, Coords offset)
 {
     Node   = node;
     Offset = offset;
 }