468469470471472473474475476477478
// Walk the edges of the polygon for (int i = 0; i < npoints; i++) { curx = xpoints[i]; cury = ypoints[i]; if (cross.accumulateLine(lastx, lasty, curx, cury)) { return null; } lastx = curx; lasty = cury; }
450451452453454455456457458459460
467468469470471472473474475476477