コード例 #1
0
ファイル: STRTree.cs プロジェクト: spacefan/iGeospatial
 /// <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);
 }
コード例 #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);
 }