org.geotools.index.quadtree.QuadTree.insert()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(2.4k)|赞(0)|评价(0)|浏览(85)

本文整理了Java中org.geotools.index.quadtree.QuadTree.insert方法的一些代码示例,展示了QuadTree.insert的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。QuadTree.insert方法的具体详情如下:
包路径:org.geotools.index.quadtree.QuadTree
类名称:QuadTree
方法名:insert

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);

相关文章