Search in sources :

Example 6 with HalfEdge

use of com.revolsys.geometry.edgegraph.HalfEdge in project com.revolsys.open by revolsys.

the class LineDissolver method computeResult.

private void computeResult() {
    final Collection edges = this.graph.getVertexEdges();
    for (final Iterator i = edges.iterator(); i.hasNext(); ) {
        final HalfEdge e = (HalfEdge) i.next();
        if (MarkHalfEdge.isMarked(e)) {
            continue;
        }
        process(e);
    }
    this.result = this.factory.buildGeometry(this.lines);
}
Also used : Iterator(java.util.Iterator) Collection(java.util.Collection) HalfEdge(com.revolsys.geometry.edgegraph.HalfEdge) MarkHalfEdge(com.revolsys.geometry.edgegraph.MarkHalfEdge)

Aggregations

HalfEdge (com.revolsys.geometry.edgegraph.HalfEdge)6 MarkHalfEdge (com.revolsys.geometry.edgegraph.MarkHalfEdge)4 Point (com.revolsys.geometry.model.Point)1 PointList (com.revolsys.geometry.model.PointList)1 Collection (java.util.Collection)1 Iterator (java.util.Iterator)1