Exemple #1
0
 /// <summary>
 /// Constructs an STRTree with the given maximum number of child nodes that
 /// a node may have
 /// </summary>
 public STRTree(int nodeCapacity) : base(nodeCapacity)
 {
     xComparator  = new STRComparatorX(this);
     yComparator  = new STRComparatorY(this);
     intersectsOp = new STRIntersectsOp(this);
 }
Exemple #2
0
 /// <summary>
 /// Constructs an SIRTree with the given maximum number of child nodes
 /// that a node may have.
 /// </summary>
 public SIRTree(int nodeCapacity) : base(nodeCapacity)
 {
     comparator   = new SIRComparator(this);
     intersectsOp = new SIRIntersectsOp(this);
 }