public void geometryChanged() { polygon.geometryChanged(); }
poly.geometryChanged(); // djb -- jessie should do this during
polygon.geometryChanged();
tempCoordinates[3].x = pX; tempCoordinates[3].y = nY; polygon.geometryChanged();
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(); }
/** * 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(); }
/** * 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(); }
/** * 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(); }