commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r1554906 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/geometry/spherical/twod/Circle.java
Date Thu, 02 Jan 2014 20:40:10 GMT
Author: luc
Date: Thu Jan  2 20:40:09 2014
New Revision: 1554906

URL: http://svn.apache.org/r1554906
Log:
Removed unneeded method.

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/geometry/spherical/twod/Circle.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/geometry/spherical/twod/Circle.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/geometry/spherical/twod/Circle.java?rev=1554906&r1=1554905&r2=1554906&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/geometry/spherical/twod/Circle.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/geometry/spherical/twod/Circle.java
Thu Jan  2 20:40:09 2014
@@ -273,14 +273,6 @@ public class Circle implements Hyperplan
         return Vector3D.dotProduct(pole, otherC.pole) >= 0.0;
     }
 
-    /** Check if the circle contains a point.
-     * @param p point to check
-     * @return true if p belongs to the circle
-     */
-    public boolean contains(final Point<Sphere2D> p) {
-        return FastMath.abs(getOffset(p)) < 1.0e-10;
-    }
-
     /** Get a {@link org.apache.commons.math3.geometry.partitioning.Transform
      * Transform} embedding a 3D rotation.
      * @param rotation rotation to use
@@ -324,7 +316,7 @@ public class Circle implements Hyperplan
         public SubHyperplane<Sphere1D> apply(final SubHyperplane<Sphere1D> sub,
                                              final Hyperplane<Sphere2D> original,
                                              final Hyperplane<Sphere2D> transformed)
{
-            // as the circle is rotated, the chords are rotated too
+            // as the circle is rotated, the limit angles are rotated too
             return sub;
         }
 



Mime
View raw message