coordsSize = resultCoordPos;
rulesSize = resultRulesPos;
}
private void intersectCurvePolygon(Area area) {
CurveCrossingHelper crossHelper = new CurveCrossingHelper(
new double[][] {coords, area.coords },
new int[] { coordsSize, area.coordsSize },
new int[][] { rules, area.rules },
new int[] { rulesSize, area.rulesSize },
new int[][] { offsets, area.offsets });
IntersectPoint[] intersectPoints = crossHelper.findCrossing();
if (intersectPoints.length == 0) {
if (contains(area.getBounds2D())) {
copy(area, this);
} else if (!area.contains(getBounds2D())) {