private void initPoints() {
        for (VoronoiLine edge : edges) {
            VoronoiPoint point = new VoronoiPoint(edge.x1, edge.y1);
            VoronoiPoint point2 = new VoronoiPoint(edge.x2, edge.y2);

            if (!points.contains(point))
                points.add(point);
            if (!points.contains(point2))
                points.add(point2);
        }

        // Sort
        points = GrahamScan.getConvexHull(points);
    }
Voronoi region allows to work with each diagram element

Created by quatja
vorolay/src/main/java/quatja/com/vorolay/diagram/VoronoiRegion.java