Commit f203307d authored by Benedikt Zoennchen's avatar Benedikt Zoennchen

before change of the fmm update scheme

parent 34848ffc
......@@ -11,6 +11,6 @@ public interface Triangulation<P extends IPoint> extends Iterable<Face<P>> {
Face<P> locate(final IPoint point);
Stream<Face<P>> streamFaces();
Set<Face<P>> getFaces();
void insert(final P point);
HalfEdge<P> insert(final P point);
void remove(final P point);
}
......@@ -33,7 +33,8 @@ public class UniformTriangulation<P extends IPoint> extends DelaunayTriangulatio
this.pointConstructor = pointConstructor;
List<P> pointList = new ArrayList<>(generatePointSet());
//Collections.shuffle(pointList);
Collections.shuffle(pointList);
for(P point : pointList) {
insert(point);
}
......
......@@ -112,7 +112,7 @@ public class TestBoyerWatson {
int height = 300;
Random r = new Random();
int numberOfPoints = 100000;
int numberOfPoints = 1000;
for(int i=0; i< numberOfPoints; i++) {
VPoint point = new VPoint(width*r.nextDouble(), height*r.nextDouble());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment