commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r1144996 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/threed/OutlineExtractor.java
Date Mon, 11 Jul 2011 00:55:38 GMT
Author: psteitz
Date: Mon Jul 11 00:55:38 2011
New Revision: 1144996

URL: http://svn.apache.org/viewvc?rev=1144996&view=rev
Log:
Removed trailing spaces.

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/threed/OutlineExtractor.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/threed/OutlineExtractor.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/threed/OutlineExtractor.java?rev=1144996&r1=1144995&r2=1144996&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/threed/OutlineExtractor.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/threed/OutlineExtractor.java
Mon Jul 11 00:55:38 2011
@@ -163,11 +163,11 @@ public class OutlineExtractor {
             final AbstractSubHyperplane<Euclidean3D, Euclidean2D> absFacet =
                 (AbstractSubHyperplane<Euclidean3D, Euclidean2D>) facet;
             final Plane plane    = (Plane) facet.getHyperplane();
-            Vector2D[][] vertices =
-                ((PolygonsSet) absFacet.getRemainingRegion()).getVertices();
 
             final double scal = Vector3D.dotProduct(plane.getNormal(), w);
             if (FastMath.abs(scal) > 1.0e-3) {
+                Vector2D[][] vertices =
+                    ((PolygonsSet) absFacet.getRemainingRegion()).getVertices();
 
                 if ((scal < 0) ^ reversed) {
                     // the facet is seen from the inside,



Mime
View raw message