commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <phil.ste...@gmail.com>
Subject Re: svn commit: r1144996 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/geometry/euclidean/threed/OutlineExtractor.java
Date Mon, 11 Jul 2011 01:08:52 GMT
On 7/10/11 5:55 PM, psteitz@apache.org wrote:
> 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.

Oops!  This is part of MATH-609.  Will fix the log...

Phil
> 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,
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message