本文整理了Java中org.geotools.index.quadtree.QuadTree.insert
方法的一些代码示例,展示了QuadTree.insert
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。QuadTree.insert
方法的具体详情如下:
包路径:org.geotools.index.quadtree.QuadTree
类名称:QuadTree
方法名:insert
[英]Inserts a shape record id in the quadtree
[中]
代码示例来源:origin: org.geotools/gt2-shapefile
/**
* Inserts a shape record id in the quadtree
* @param recno The record number
* @param bounds The bounding box
*/
public void insert(int recno, Envelope bounds) throws StoreException {
this.insert(this.root, recno, bounds, this.maxDepth);
}
代码示例来源:origin: org.geotools/gt-shapefile-old
/**
* Inserts a shape record id in the quadtree
*
* @param recno
* The record number
* @param bounds
* The bounding box
*/
public void insert(int recno, Envelope bounds) throws StoreException {
this.insert(this.root, recno, bounds, this.maxDepth);
}
代码示例来源:origin: org.geotools/gt-shapefile
/**
* Inserts a shape record id in the quadtree
*
* @param recno
* The record number
* @param bounds
* The bounding box
*/
public void insert(int recno, Envelope bounds) throws StoreException {
this.insert(this.root, recno, bounds, this.maxDepth);
}
代码示例来源:origin: org.geotools/gt2-shapefile
tree.insert(cnt++,
new Envelope(rec.minX, rec.maxX, rec.minY, rec.maxY));
代码示例来源:origin: org.geotools/gt-shapefile
tree.insert(cnt++, new Envelope(rec.minX, rec.maxX, rec.minY,
rec.maxY));
代码示例来源:origin: org.geotools/gt-shapefile-old
tree.insert(cnt++, new Envelope(rec.minX, rec.maxX, rec.minY,
rec.maxY));
代码示例来源:origin: org.geotools/gt-shapefile
subNode = node.getSubNode(i);
if (subNode.getBounds().contains(bounds)) {
this.insert(subNode, recno, bounds, maxDepth - 1);
return;
this.insert(subnode, recno, bounds, maxDepth - 1);
return;
代码示例来源:origin: org.geotools/gt-shapefile-old
subNode = node.getSubNode(i);
if (subNode.getBounds().contains(bounds)) {
this.insert(subNode, recno, bounds, maxDepth - 1);
return;
this.insert(subnode, recno, bounds, maxDepth - 1);
return;
代码示例来源:origin: org.geotools/gt2-shapefile
subNode = node.getSubNode(i);
if (subNode.getBounds().contains(bounds)) {
this.insert(subNode, recno, bounds, md - 1);
return;
this.insert(node, recno, bounds, md);
return;
代码示例来源:origin: org.geotools/gt-shapefile
Record rec = reader.nextRecord();
Envelope env = new Envelope(rec.minX, rec.maxX, rec.minY, rec.maxY);
tree.insert(node, shapeId, env, extraLevels);
代码示例来源:origin: org.geotools/gt-shapefile-old
Record rec = reader.nextRecord();
Envelope env = new Envelope(rec.minX, rec.maxX, rec.minY, rec.maxY);
tree.insert(node, shapeId, env, extraLevels);
内容来源于网络,如有侵权,请联系作者删除!