org.locationtech.jts.geom.Polygon.geometryChanged()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(2.5k)|赞(0)|评价(0)|浏览(118)

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

Polygon.geometryChanged介绍

暂无

代码示例

代码示例来源:origin: geotools/geotools

public void geometryChanged() {
  polygon.geometryChanged();
}

代码示例来源:origin: geotools/geotools

poly.geometryChanged(); // djb -- jessie should do this during

代码示例来源:origin: mapsforge/mapsforge

polygon.geometryChanged();

代码示例来源:origin: geotools/geotools

tempCoordinates[3].x = pX;
tempCoordinates[3].y = nY;
polygon.geometryChanged();

代码示例来源:origin: locationtech/jts

public void apply(CoordinateSequenceFilter filter) 
{
   shell.apply(filter);
  if (! filter.isDone()) {
   for (int i = 0; i < holes.length; i++) {
    holes[i].apply(filter);
    if (filter.isDone()) 
     break;
   }
  }
  if (filter.isGeometryChanged())
   geometryChanged();
  }

代码示例来源:origin: org.jaitools/jt-utils

/**
 * Helper function for contains and intersects methods.
 * 
 * @param x rectangle origin X ordinate
 * @param y rectangle origin Y ordinate
 * @param w rectangle width
 * @param h rectangle height
 */
private void setTestRect(double x, double y, double w, double h) {
  testRectCS.setXY(0, x, y);
  testRectCS.setXY(1, x, y + h);
  testRectCS.setXY(2, x + w, y + h);
  testRectCS.setXY(3, x + w, y);
  testRectCS.setXY(4, x, y);
  testRect.geometryChanged();
}

代码示例来源:origin: geosolutions-it/jai-ext

/**
 * Helper function for contains and intersects methods.
 * 
 * @param x rectangle origin X ordinate
 * @param y rectangle origin Y ordinate
 * @param w rectangle width
 * @param h rectangle height
 */
private void setTestRect(double x, double y, double w, double h) {
  testRectCS.setOrdinate(0, 0, x);
  testRectCS.setOrdinate(0, 1, y);
  testRectCS.setOrdinate(1, 0, x);
  testRectCS.setOrdinate(1, 1, y + h);
  testRectCS.setOrdinate(2, 0, x + w);
  testRectCS.setOrdinate(2, 1, y + h);
  testRectCS.setOrdinate(3, 0, x + w);
  testRectCS.setOrdinate(3, 1, y);
  testRectCS.setOrdinate(4, 0, x);
  testRectCS.setOrdinate(4, 1, y);
  testRect.geometryChanged();
}

代码示例来源:origin: it.geosolutions.jaiext.vectorbin/jt-vectorbin

/**
 * Helper function for contains and intersects methods.
 * 
 * @param x rectangle origin X ordinate
 * @param y rectangle origin Y ordinate
 * @param w rectangle width
 * @param h rectangle height
 */
private void setTestRect(double x, double y, double w, double h) {
  testRectCS.setOrdinate(0, 0, x);
  testRectCS.setOrdinate(0, 1, y);
  testRectCS.setOrdinate(1, 0, x);
  testRectCS.setOrdinate(1, 1, y + h);
  testRectCS.setOrdinate(2, 0, x + w);
  testRectCS.setOrdinate(2, 1, y + h);
  testRectCS.setOrdinate(3, 0, x + w);
  testRectCS.setOrdinate(3, 1, y);
  testRectCS.setOrdinate(4, 0, x);
  testRectCS.setOrdinate(4, 1, y);
  testRect.geometryChanged();
}

相关文章