You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2014/12/02 22:20:32 UTC
[6/8] [math] Removed development traces.
Removed development traces.
Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/893ef53c
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/893ef53c
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/893ef53c
Branch: refs/heads/master
Commit: 893ef53c6cb9b243ba8f28c8cad6e42c8019af0c
Parents: 84cf29e
Author: Luc Maisonobe <lu...@apache.org>
Authored: Tue Dec 2 22:06:33 2014 +0100
Committer: Luc Maisonobe <lu...@apache.org>
Committed: Tue Dec 2 22:06:33 2014 +0100
----------------------------------------------------------------------
.../commons/math3/geometry/partitioning/RegionFactory.java | 8 --------
1 file changed, 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-math/blob/893ef53c/src/main/java/org/apache/commons/math3/geometry/partitioning/RegionFactory.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math3/geometry/partitioning/RegionFactory.java b/src/main/java/org/apache/commons/math3/geometry/partitioning/RegionFactory.java
index 8cf2603..16d4472 100644
--- a/src/main/java/org/apache/commons/math3/geometry/partitioning/RegionFactory.java
+++ b/src/main/java/org/apache/commons/math3/geometry/partitioning/RegionFactory.java
@@ -21,8 +21,6 @@ import java.util.Map;
import org.apache.commons.math3.geometry.Point;
import org.apache.commons.math3.geometry.Space;
-import org.apache.commons.math3.geometry.euclidean.twod.PolygonsSet;
-import org.apache.commons.math3.geometry.euclidean.twod.Vector2D;
import org.apache.commons.math3.geometry.partitioning.BSPTree.VanishingCutHandler;
import org.apache.commons.math3.geometry.partitioning.Region.Location;
@@ -296,12 +294,6 @@ public class RegionFactory<S extends Space> {
// get a representative point in the degenerate cell
final BSPTree<S> cell = node.pruneAroundConvexCell(Boolean.TRUE, Boolean.FALSE, null);
final Region<S> r = region1.buildNew(cell);
- for (Vector2D[] loop : ((PolygonsSet) r).getVertices()) {
- System.out.format(java.util.Locale.US, "%n");
- for (Vector2D v : loop) {
- System.out.format(java.util.Locale.US, "%14.10f %14.10f%n", v.getX(), v.getY());
- }
- }
final Point<S> p = r.getBarycenter();
return new BSPTree<S>(region1.checkPoint(p) == Location.INSIDE &&
region2.checkPoint(p) == Location.OUTSIDE);