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

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

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

Point.geometryChanged介绍

暂无

代码示例

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

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

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

for (int i = 0; i < numSamples; i++) {
  c.x = env.getMinX() + stepSize * i;
  pp.geometryChanged();
  if (!pg.contains(pp)) {
    containCounter = 0;
  int midIdx = max > 1 ? maxIdx - max / 2 : maxIdx;
  c.x = env.getMinX() + stepSize * midIdx;
  pp.geometryChanged();
  return pp;
} else {

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

c.x = tp[0];
c.y = tp[1];
pp.geometryChanged();

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

testPoint.geometryChanged();
if (!pg.contains(testPoint)) continue;

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

public void apply(CoordinateSequenceFilter filter) 
{
   if (isEmpty())
   return;
   filter.filter(coordinates, 0);
  if (filter.isGeometryChanged())
   geometryChanged();
  }

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

/**
 * Tests if this ROI contains the given image location.
 * 
 * @param x location X ordinate
 * @param y location Y ordinate
 * 
 * @return {@code true} if the location is within this ROI; 
 *         {@code false} otherwise
 */
@Override
public boolean contains(double x, double y) {
  testPointCS.setOrdinate(0, 0, x);
  testPointCS.setOrdinate(0, 1, y);
  testPoint.geometryChanged();
  return theGeom.contains(testPoint);
}

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

/**
 * Tests if this ROI contains the given image location.
 * 
 * @param x location X ordinate
 * @param y location Y ordinate
 * 
 * @return {@code true} if the location is within this ROI; 
 *         {@code false} otherwise
 */
@Override
public boolean contains(double x, double y) {
  testPointCS.setX(0, x);
  testPointCS.setY(0, y);
  testPoint.geometryChanged();
  return theGeom.contains(testPoint);
}

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

/**
 * Tests if this ROI contains the given image location.
 * 
 * @param x location X ordinate
 * @param y location Y ordinate
 * 
 * @return {@code true} if the location is within this ROI; 
 *         {@code false} otherwise
 */
@Override
public boolean contains(double x, double y) {
  testPointCS.setOrdinate(0, 0, x);
  testPointCS.setOrdinate(0, 1, y);
  testPoint.geometryChanged();
  return theGeom.contains(testPoint);
}

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

for (int x = tile.getMinX(), ix = 0; ix < tile.getWidth(); x++, ix++) {
  testPointCS.setX(0, x + 0.5);
  testPoint.geometryChanged();
  int expected = poly.intersects(testPoint) ? 1 : 0;
  assertEquals("Failed test at position " + x + ", " + y + ", " + "expected "

相关文章