renamed packages oneD, twoD and threeD into oned, twod and threed
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1124619 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
07ecb4d65a
commit
c70f393f4a
|
@ -65,7 +65,7 @@
|
|||
|
||||
<!-- The following equality test is intentional and needed for semantic purposes -->
|
||||
<Match>
|
||||
<Class name="org.apache.commons.math.geometry.euclidean.threeD.Vector3D" />
|
||||
<Class name="org.apache.commons.math.geometry.euclidean.threed.Vector3D" />
|
||||
<Method name="equals" params="java.lang.Object" returns="boolean" />
|
||||
<Bug pattern="FE_FLOATING_POINT_EQUALITY" />
|
||||
</Match>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math.geometry.euclidean.oneD;
|
||||
package org.apache.commons.math.geometry.euclidean.oned;
|
||||
|
||||
|
||||
/** This class represents a 1D interval.
|
|
@ -14,7 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math.geometry.euclidean.oneD;
|
||||
package org.apache.commons.math.geometry.euclidean.oned;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
|
@ -14,7 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math.geometry.euclidean.oneD;
|
||||
package org.apache.commons.math.geometry.euclidean.oned;
|
||||
|
||||
import org.apache.commons.math.exception.MathUnsupportedOperationException;
|
||||
import org.apache.commons.math.exception.util.LocalizedFormats;
|
|
@ -14,7 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math.geometry.euclidean.oneD;
|
||||
package org.apache.commons.math.geometry.euclidean.oned;
|
||||
|
||||
import org.apache.commons.math.geometry.partitioning.Point;
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math.geometry.euclidean.threeD;
|
||||
package org.apache.commons.math.geometry.euclidean.threed;
|
||||
|
||||
import org.apache.commons.math.MathException;
|
||||
import org.apache.commons.math.exception.util.LocalizedFormats;
|
|
@ -14,9 +14,9 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math.geometry.euclidean.threeD;
|
||||
package org.apache.commons.math.geometry.euclidean.threed;
|
||||
|
||||
import org.apache.commons.math.geometry.euclidean.oneD.Point1D;
|
||||
import org.apache.commons.math.geometry.euclidean.oned.Point1D;
|
||||
import org.apache.commons.math.geometry.partitioning.Point;
|
||||
import org.apache.commons.math.geometry.partitioning.SubSpace;
|
||||
import org.apache.commons.math.util.FastMath;
|
||||
|
@ -83,7 +83,7 @@ public class Line implements SubSpace {
|
|||
* @param point point to check (must be a {@link Vector3D Vector3D}
|
||||
* instance)
|
||||
* @return abscissa of the point (really a
|
||||
* {org.apache.commons.math.geometry.euclidean.oneD.Point1D Point1D} instance)
|
||||
* {org.apache.commons.math.geometry.euclidean.oned.Point1D Point1D} instance)
|
||||
*/
|
||||
public Point toSubSpace(final Point point) {
|
||||
final double x = Vector3D.dotProduct(((Vector3D) point).subtract(zero), direction);
|
||||
|
@ -92,7 +92,7 @@ public class Line implements SubSpace {
|
|||
|
||||
/** Get one point from the line.
|
||||
* @param point desired abscissa for the point (must be a
|
||||
* {org.apache.commons.math.geometry.euclidean.oneD.Point1D Point1D} instance)
|
||||
* {org.apache.commons.math.geometry.euclidean.oned.Point1D Point1D} instance)
|
||||
* @return one point belonging to the line, at specified abscissa
|
||||
* (really a {@link Vector3D Vector3D} instance)
|
||||
*/
|
|
@ -15,7 +15,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math.geometry.euclidean.threeD;
|
||||
package org.apache.commons.math.geometry.euclidean.threed;
|
||||
|
||||
import org.apache.commons.math.MathException;
|
||||
import org.apache.commons.math.exception.util.Localizable;
|
|
@ -14,10 +14,10 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math.geometry.euclidean.threeD;
|
||||
package org.apache.commons.math.geometry.euclidean.threed;
|
||||
|
||||
import org.apache.commons.math.geometry.euclidean.twoD.Point2D;
|
||||
import org.apache.commons.math.geometry.euclidean.twoD.PolygonsSet;
|
||||
import org.apache.commons.math.geometry.euclidean.twod.Point2D;
|
||||
import org.apache.commons.math.geometry.euclidean.twod.PolygonsSet;
|
||||
import org.apache.commons.math.geometry.partitioning.BSPTree;
|
||||
import org.apache.commons.math.geometry.partitioning.BSPTreeVisitor;
|
||||
import org.apache.commons.math.geometry.partitioning.Region;
|
||||
|
@ -200,16 +200,16 @@ public class OutlineExtractor {
|
|||
final Vector3D current3D = (Vector3D) plane.toSpace(loop[current]);
|
||||
final Point2D cPoint = new Point2D(Vector3D.dotProduct(current3D, u),
|
||||
Vector3D.dotProduct(current3D, v));
|
||||
final org.apache.commons.math.geometry.euclidean.twoD.Line line =
|
||||
new org.apache.commons.math.geometry.euclidean.twoD.Line(pPoint, cPoint);
|
||||
final org.apache.commons.math.geometry.euclidean.twod.Line line =
|
||||
new org.apache.commons.math.geometry.euclidean.twod.Line(pPoint, cPoint);
|
||||
SubHyperplane edge = new SubHyperplane(line);
|
||||
|
||||
if (closed || (previous != 1)) {
|
||||
// the previous point is a real vertex
|
||||
// it defines one bounding point of the edge
|
||||
final double angle = line.getAngle() + 0.5 * FastMath.PI;
|
||||
final org.apache.commons.math.geometry.euclidean.twoD.Line l =
|
||||
new org.apache.commons.math.geometry.euclidean.twoD.Line(pPoint, angle);
|
||||
final org.apache.commons.math.geometry.euclidean.twod.Line l =
|
||||
new org.apache.commons.math.geometry.euclidean.twod.Line(pPoint, angle);
|
||||
edge = l.split(edge).getPlus();
|
||||
}
|
||||
|
||||
|
@ -217,8 +217,8 @@ public class OutlineExtractor {
|
|||
// the current point is a real vertex
|
||||
// it defines one bounding point of the edge
|
||||
final double angle = line.getAngle() + 0.5 * FastMath.PI;
|
||||
final org.apache.commons.math.geometry.euclidean.twoD.Line l =
|
||||
new org.apache.commons.math.geometry.euclidean.twoD.Line(cPoint, angle);
|
||||
final org.apache.commons.math.geometry.euclidean.twod.Line l =
|
||||
new org.apache.commons.math.geometry.euclidean.twod.Line(cPoint, angle);
|
||||
edge = l.split(edge).getMinus();
|
||||
}
|
||||
|
|
@ -14,11 +14,11 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math.geometry.euclidean.threeD;
|
||||
package org.apache.commons.math.geometry.euclidean.threed;
|
||||
|
||||
import org.apache.commons.math.geometry.euclidean.oneD.Point1D;
|
||||
import org.apache.commons.math.geometry.euclidean.twoD.Point2D;
|
||||
import org.apache.commons.math.geometry.euclidean.twoD.PolygonsSet;
|
||||
import org.apache.commons.math.geometry.euclidean.oned.Point1D;
|
||||
import org.apache.commons.math.geometry.euclidean.twod.Point2D;
|
||||
import org.apache.commons.math.geometry.euclidean.twod.PolygonsSet;
|
||||
import org.apache.commons.math.geometry.partitioning.BSPTree;
|
||||
import org.apache.commons.math.geometry.partitioning.Hyperplane;
|
||||
import org.apache.commons.math.geometry.partitioning.Point;
|
||||
|
@ -217,7 +217,7 @@ public class Plane implements Hyperplane {
|
|||
* @param point point of the space (must be a {@link Vector3D
|
||||
* Vector3D} instance)
|
||||
* @return in-plane point (really a {@link
|
||||
* org.apache.commons.math.geometry.euclidean.twoD.Point2D Point2D} instance)
|
||||
* org.apache.commons.math.geometry.euclidean.twod.Point2D Point2D} instance)
|
||||
* @see #toSpace
|
||||
*/
|
||||
public Point toSubSpace(final Point point) {
|
||||
|
@ -228,7 +228,7 @@ public class Plane implements Hyperplane {
|
|||
|
||||
/** Transform an in-plane point into a 3D space point.
|
||||
* @param point in-plane point (must be a {@link
|
||||
* org.apache.commons.math.geometry.euclidean.twoD.Point2D Point2D} instance)
|
||||
* org.apache.commons.math.geometry.euclidean.twod.Point2D Point2D} instance)
|
||||
* @return 3D space point (really a {@link Vector3D Vector3D} instance)
|
||||
* @see #toSubSpace
|
||||
*/
|
||||
|
@ -465,7 +465,7 @@ public class Plane implements Hyperplane {
|
|||
p = q;
|
||||
q = tmp;
|
||||
}
|
||||
final Hyperplane line2D = new org.apache.commons.math.geometry.euclidean.twoD.Line(p, q);
|
||||
final Hyperplane line2D = new org.apache.commons.math.geometry.euclidean.twod.Line(p, q);
|
||||
|
||||
// check the side on the 2D plane
|
||||
return sub.getRemainingRegion().side(line2D);
|
||||
|
@ -500,9 +500,9 @@ public class Plane implements Hyperplane {
|
|||
q = tmp;
|
||||
}
|
||||
final SubHyperplane l2DMinus =
|
||||
new SubHyperplane(new org.apache.commons.math.geometry.euclidean.twoD.Line(p, q));
|
||||
new SubHyperplane(new org.apache.commons.math.geometry.euclidean.twod.Line(p, q));
|
||||
final SubHyperplane l2DPlus =
|
||||
new SubHyperplane(new org.apache.commons.math.geometry.euclidean.twoD.Line(q, p));
|
||||
new SubHyperplane(new org.apache.commons.math.geometry.euclidean.twod.Line(q, p));
|
||||
|
||||
final BSPTree splitTree =
|
||||
sub.getRemainingRegion().getTree(false).split(l2DMinus);
|
|
@ -14,7 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math.geometry.euclidean.threeD;
|
||||
package org.apache.commons.math.geometry.euclidean.threed;
|
||||
|
||||
import org.apache.commons.math.geometry.partitioning.Point;
|
||||
|
|
@ -14,13 +14,13 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math.geometry.euclidean.threeD;
|
||||
package org.apache.commons.math.geometry.euclidean.threed;
|
||||
|
||||
import java.awt.geom.AffineTransform;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
|
||||
import org.apache.commons.math.geometry.euclidean.twoD.Point2D;
|
||||
import org.apache.commons.math.geometry.euclidean.twod.Point2D;
|
||||
import org.apache.commons.math.geometry.partitioning.BSPTree;
|
||||
import org.apache.commons.math.geometry.partitioning.BSPTreeVisitor;
|
||||
import org.apache.commons.math.geometry.partitioning.Hyperplane;
|
||||
|
@ -340,7 +340,7 @@ public class PolyhedronsSet extends Region {
|
|||
tP00.getX(), tP00.getY());
|
||||
|
||||
cachedOriginal = original;
|
||||
cachedTransform = org.apache.commons.math.geometry.euclidean.twoD.Line.getTransform(at);
|
||||
cachedTransform = org.apache.commons.math.geometry.euclidean.twod.Line.getTransform(at);
|
||||
|
||||
}
|
||||
return sub.applyTransform(cachedTransform);
|
||||
|
@ -400,7 +400,7 @@ public class PolyhedronsSet extends Region {
|
|||
|
||||
cachedOriginal = original;
|
||||
cachedTransform =
|
||||
org.apache.commons.math.geometry.euclidean.twoD.Line.getTransform(at);
|
||||
org.apache.commons.math.geometry.euclidean.twod.Line.getTransform(at);
|
||||
|
||||
}
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math.geometry.euclidean.threeD;
|
||||
package org.apache.commons.math.geometry.euclidean.threed;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math.geometry.euclidean.threeD;
|
||||
package org.apache.commons.math.geometry.euclidean.threed;
|
||||
|
||||
/**
|
||||
* This class is a utility representing a rotation order specification
|
|
@ -15,7 +15,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math.geometry.euclidean.threeD;
|
||||
package org.apache.commons.math.geometry.euclidean.threed;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math.geometry.euclidean.threeD;
|
||||
package org.apache.commons.math.geometry.euclidean.threed;
|
||||
|
||||
import java.text.FieldPosition;
|
||||
import java.text.NumberFormat;
|
|
@ -14,15 +14,15 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math.geometry.euclidean.twoD;
|
||||
package org.apache.commons.math.geometry.euclidean.twod;
|
||||
|
||||
import java.awt.geom.AffineTransform;
|
||||
|
||||
import org.apache.commons.math.exception.MathIllegalArgumentException;
|
||||
import org.apache.commons.math.exception.util.LocalizedFormats;
|
||||
import org.apache.commons.math.geometry.euclidean.oneD.IntervalsSet;
|
||||
import org.apache.commons.math.geometry.euclidean.oneD.OrientedPoint;
|
||||
import org.apache.commons.math.geometry.euclidean.oneD.Point1D;
|
||||
import org.apache.commons.math.geometry.euclidean.oned.IntervalsSet;
|
||||
import org.apache.commons.math.geometry.euclidean.oned.OrientedPoint;
|
||||
import org.apache.commons.math.geometry.euclidean.oned.Point1D;
|
||||
import org.apache.commons.math.geometry.partitioning.BSPTree;
|
||||
import org.apache.commons.math.geometry.partitioning.Hyperplane;
|
||||
import org.apache.commons.math.geometry.partitioning.Point;
|
||||
|
@ -180,7 +180,7 @@ public class Line implements Hyperplane {
|
|||
* @param point 2D point (must be a {@link Point2D Point2D}
|
||||
* instance)
|
||||
* @return line point corresponding to the 2D point (really a {@link
|
||||
* org.apache.commons.math.geometry.euclidean.oneD.Point1D Point1D} instance)
|
||||
* org.apache.commons.math.geometry.euclidean.oned.Point1D Point1D} instance)
|
||||
* @see #toSpace
|
||||
*/
|
||||
public Point toSubSpace(final Point point) {
|
||||
|
@ -190,7 +190,7 @@ public class Line implements Hyperplane {
|
|||
|
||||
/** Get one point from the line.
|
||||
* @param point desired abscissa for the point (must be a {@link
|
||||
* org.apache.commons.math.geometry.euclidean.oneD.Point1D Point1D} instance)
|
||||
* org.apache.commons.math.geometry.euclidean.oned.Point1D Point1D} instance)
|
||||
* @return line point at specified abscissa (really a {@link Point2D
|
||||
* Point2D} instance)
|
||||
*/
|
|
@ -14,7 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math.geometry.euclidean.twoD;
|
||||
package org.apache.commons.math.geometry.euclidean.twod;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
|
@ -22,8 +22,8 @@ import java.util.Iterator;
|
|||
|
||||
import org.apache.commons.math.exception.MathIllegalArgumentException;
|
||||
import org.apache.commons.math.exception.util.LocalizedFormats;
|
||||
import org.apache.commons.math.geometry.euclidean.oneD.OrientedPoint;
|
||||
import org.apache.commons.math.geometry.euclidean.oneD.Point1D;
|
||||
import org.apache.commons.math.geometry.euclidean.oned.OrientedPoint;
|
||||
import org.apache.commons.math.geometry.euclidean.oned.Point1D;
|
||||
import org.apache.commons.math.geometry.partitioning.Hyperplane;
|
||||
import org.apache.commons.math.geometry.partitioning.Region;
|
||||
import org.apache.commons.math.geometry.partitioning.SubHyperplane;
|
|
@ -14,7 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math.geometry.euclidean.twoD;
|
||||
package org.apache.commons.math.geometry.euclidean.twod;
|
||||
|
||||
import org.apache.commons.math.geometry.partitioning.Point;
|
||||
import org.apache.commons.math.geometry.partitioning.SubSpace;
|
|
@ -14,14 +14,14 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math.geometry.euclidean.twoD;
|
||||
package org.apache.commons.math.geometry.euclidean.twod;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.commons.math.geometry.euclidean.oneD.Point1D;
|
||||
import org.apache.commons.math.geometry.euclidean.oned.Point1D;
|
||||
import org.apache.commons.math.geometry.partitioning.BSPTree;
|
||||
import org.apache.commons.math.geometry.partitioning.Hyperplane;
|
||||
import org.apache.commons.math.geometry.partitioning.Region;
|
|
@ -14,7 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math.geometry.euclidean.twoD;
|
||||
package org.apache.commons.math.geometry.euclidean.twod;
|
||||
|
||||
import org.apache.commons.math.geometry.partitioning.utilities.OrderedTuple;
|
||||
|
|
@ -14,13 +14,13 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math.geometry.euclidean.twoD;
|
||||
package org.apache.commons.math.geometry.euclidean.twod;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.commons.math.geometry.euclidean.oneD.Interval;
|
||||
import org.apache.commons.math.geometry.euclidean.oneD.IntervalsSet;
|
||||
import org.apache.commons.math.geometry.euclidean.oneD.Point1D;
|
||||
import org.apache.commons.math.geometry.euclidean.oned.Interval;
|
||||
import org.apache.commons.math.geometry.euclidean.oned.IntervalsSet;
|
||||
import org.apache.commons.math.geometry.euclidean.oned.Point1D;
|
||||
import org.apache.commons.math.geometry.partitioning.BSPTree;
|
||||
import org.apache.commons.math.geometry.partitioning.BSPTreeVisitor;
|
||||
import org.apache.commons.math.geometry.partitioning.Region.BoundaryAttribute;
|
|
@ -36,8 +36,8 @@
|
|||
</subsection>
|
||||
<subsection name="11.2 Euclidean spaces" href="euclidean">
|
||||
<p>
|
||||
<a href="../apidocs/org/apache/commons/math/geometry/euclidean/oneD/Interval.html">
|
||||
Interval</a> and <a href="../apidocs/org/apache/commons/math/geometry/euclidean/oneD/IntervalsSet.html">
|
||||
<a href="../apidocs/org/apache/commons/math/geometry/euclidean/oned/Interval.html">
|
||||
Interval</a> and <a href="../apidocs/org/apache/commons/math/geometry/euclidean/oned/IntervalsSet.html">
|
||||
IntervalsSet</a> represent one dimensional regions. All classical set operations are available
|
||||
for intervals sets: union, intersection, symmetric difference (exclusive or), difference, complement,
|
||||
as well as region predicates (point inside/outside/on boundary, emptiness, other region contained).
|
||||
|
@ -46,7 +46,7 @@
|
|||
representation.
|
||||
</p>
|
||||
<p>
|
||||
<a href="../apidocs/org/apache/commons/math/geometry/euclidean/twoD/PolygonsSet.html">
|
||||
<a href="../apidocs/org/apache/commons/math/geometry/euclidean/twod/PolygonsSet.html">
|
||||
PolygonsSet</a> represent two dimensional regions. All classical set operations are available
|
||||
for polygons sets: union, intersection, symmetric difference (exclusive or), difference, complement,
|
||||
as well as region predicates (point inside/outside/on boundary, emptiness, other region contained).
|
||||
|
@ -55,7 +55,7 @@
|
|||
or from a boundary representation.
|
||||
</p>
|
||||
<p>
|
||||
<a href="../apidocs/org/apache/commons/math/geometry/euclidean/threeD/PolyhedronsSet.html">
|
||||
<a href="../apidocs/org/apache/commons/math/geometry/euclidean/threed/PolyhedronsSet.html">
|
||||
PolyhedronsSet</a> represent three dimensional regions. All classical set operations are available
|
||||
for polyhedrons sets: union, intersection, symmetric difference (exclusive or), difference, complement,
|
||||
as well as region predicates (point inside/outside/on boundary, emptiness, other region contained).
|
||||
|
@ -64,7 +64,7 @@
|
|||
or from a boundary representation.
|
||||
</p>
|
||||
<p>
|
||||
<a href="../apidocs/org/apache/commons/math/geometry/euclidean/threeD/Vector3D.html">
|
||||
<a href="../apidocs/org/apache/commons/math/geometry/euclidean/threed/Vector3D.html">
|
||||
Vector3D</a> provides a simple vector type. One important feature is
|
||||
that instances of this class are guaranteed
|
||||
to be immutable, this greatly simplifies modelling dynamical systems
|
||||
|
@ -86,12 +86,12 @@
|
|||
is of course also implemented.
|
||||
</p>
|
||||
<p>
|
||||
<a href="../apidocs/org/apache/commons/math/geometry/euclidean/threeD/Vector3DFormat.html">
|
||||
<a href="../apidocs/org/apache/commons/math/geometry/euclidean/threed/Vector3DFormat.html">
|
||||
Vector3DFormat</a> is a specialized format for formatting output or parsing
|
||||
input with text representation of 3D vectors.
|
||||
</p>
|
||||
<p>
|
||||
<a href="../apidocs/org/apache/commons/math/geometry/euclidean/threeD/Rotation.html">
|
||||
<a href="../apidocs/org/apache/commons/math/geometry/euclidean/threed/Rotation.html">
|
||||
Rotation</a> represents 3D rotations.
|
||||
Rotation instances are also immutable objects, as Vector3D instances.
|
||||
</p>
|
||||
|
|
|
@ -14,13 +14,13 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math.geometry.euclidean.oneD;
|
||||
package org.apache.commons.math.geometry.euclidean.oned;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.commons.math.geometry.euclidean.oneD.Interval;
|
||||
import org.apache.commons.math.geometry.euclidean.oneD.IntervalsSet;
|
||||
import org.apache.commons.math.geometry.euclidean.oneD.Point1D;
|
||||
import org.apache.commons.math.geometry.euclidean.oned.Interval;
|
||||
import org.apache.commons.math.geometry.euclidean.oned.IntervalsSet;
|
||||
import org.apache.commons.math.geometry.euclidean.oned.Point1D;
|
||||
import org.apache.commons.math.geometry.partitioning.Region;
|
||||
import org.apache.commons.math.util.FastMath;
|
||||
import org.junit.Assert;
|
|
@ -15,7 +15,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math.geometry.euclidean.threeD;
|
||||
package org.apache.commons.math.geometry.euclidean.threed;
|
||||
|
||||
import java.util.Locale;
|
||||
|
|
@ -14,10 +14,10 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math.geometry.euclidean.threeD;
|
||||
package org.apache.commons.math.geometry.euclidean.threed;
|
||||
|
||||
import org.apache.commons.math.geometry.euclidean.threeD.Line;
|
||||
import org.apache.commons.math.geometry.euclidean.threeD.Vector3D;
|
||||
import org.apache.commons.math.geometry.euclidean.threed.Line;
|
||||
import org.apache.commons.math.geometry.euclidean.threed.Vector3D;
|
||||
import org.apache.commons.math.util.FastMath;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
|
@ -14,13 +14,13 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math.geometry.euclidean.threeD;
|
||||
package org.apache.commons.math.geometry.euclidean.threed;
|
||||
|
||||
import org.apache.commons.math.geometry.euclidean.threeD.Line;
|
||||
import org.apache.commons.math.geometry.euclidean.threeD.Plane;
|
||||
import org.apache.commons.math.geometry.euclidean.threeD.Point3D;
|
||||
import org.apache.commons.math.geometry.euclidean.threeD.Rotation;
|
||||
import org.apache.commons.math.geometry.euclidean.threeD.Vector3D;
|
||||
import org.apache.commons.math.geometry.euclidean.threed.Line;
|
||||
import org.apache.commons.math.geometry.euclidean.threed.Plane;
|
||||
import org.apache.commons.math.geometry.euclidean.threed.Point3D;
|
||||
import org.apache.commons.math.geometry.euclidean.threed.Rotation;
|
||||
import org.apache.commons.math.geometry.euclidean.threed.Vector3D;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
|
@ -14,17 +14,17 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math.geometry.euclidean.threeD;
|
||||
package org.apache.commons.math.geometry.euclidean.threed;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
import org.apache.commons.math.geometry.euclidean.threeD.Plane;
|
||||
import org.apache.commons.math.geometry.euclidean.threeD.Point3D;
|
||||
import org.apache.commons.math.geometry.euclidean.threeD.PolyhedronsSet;
|
||||
import org.apache.commons.math.geometry.euclidean.threeD.Rotation;
|
||||
import org.apache.commons.math.geometry.euclidean.threeD.Vector3D;
|
||||
import org.apache.commons.math.geometry.euclidean.twoD.Point2D;
|
||||
import org.apache.commons.math.geometry.euclidean.twoD.PolygonsSet;
|
||||
import org.apache.commons.math.geometry.euclidean.threed.Plane;
|
||||
import org.apache.commons.math.geometry.euclidean.threed.Point3D;
|
||||
import org.apache.commons.math.geometry.euclidean.threed.PolyhedronsSet;
|
||||
import org.apache.commons.math.geometry.euclidean.threed.Rotation;
|
||||
import org.apache.commons.math.geometry.euclidean.threed.Vector3D;
|
||||
import org.apache.commons.math.geometry.euclidean.twod.Point2D;
|
||||
import org.apache.commons.math.geometry.euclidean.twod.PolygonsSet;
|
||||
import org.apache.commons.math.geometry.partitioning.BSPTree;
|
||||
import org.apache.commons.math.geometry.partitioning.BSPTreeVisitor;
|
||||
import org.apache.commons.math.geometry.partitioning.Hyperplane;
|
|
@ -15,11 +15,11 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math.geometry.euclidean.threeD;
|
||||
package org.apache.commons.math.geometry.euclidean.threed;
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
|
||||
import org.apache.commons.math.geometry.euclidean.threeD.RotationOrder;
|
||||
import org.apache.commons.math.geometry.euclidean.threed.RotationOrder;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
|
@ -15,13 +15,13 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math.geometry.euclidean.threeD;
|
||||
package org.apache.commons.math.geometry.euclidean.threed;
|
||||
|
||||
import org.apache.commons.math.geometry.euclidean.threeD.CardanEulerSingularityException;
|
||||
import org.apache.commons.math.geometry.euclidean.threeD.NotARotationMatrixException;
|
||||
import org.apache.commons.math.geometry.euclidean.threeD.Rotation;
|
||||
import org.apache.commons.math.geometry.euclidean.threeD.RotationOrder;
|
||||
import org.apache.commons.math.geometry.euclidean.threeD.Vector3D;
|
||||
import org.apache.commons.math.geometry.euclidean.threed.CardanEulerSingularityException;
|
||||
import org.apache.commons.math.geometry.euclidean.threed.NotARotationMatrixException;
|
||||
import org.apache.commons.math.geometry.euclidean.threed.Rotation;
|
||||
import org.apache.commons.math.geometry.euclidean.threed.RotationOrder;
|
||||
import org.apache.commons.math.geometry.euclidean.threed.Vector3D;
|
||||
import org.apache.commons.math.util.FastMath;
|
||||
import org.apache.commons.math.util.MathUtils;
|
||||
import org.junit.Assert;
|
|
@ -15,14 +15,14 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math.geometry.euclidean.threeD;
|
||||
package org.apache.commons.math.geometry.euclidean.threed;
|
||||
|
||||
import java.text.NumberFormat;
|
||||
import java.text.ParsePosition;
|
||||
import java.util.Locale;
|
||||
|
||||
import org.apache.commons.math.geometry.euclidean.threeD.Vector3D;
|
||||
import org.apache.commons.math.geometry.euclidean.threeD.Vector3DFormat;
|
||||
import org.apache.commons.math.geometry.euclidean.threed.Vector3D;
|
||||
import org.apache.commons.math.geometry.euclidean.threed.Vector3DFormat;
|
||||
import org.junit.Test;
|
||||
import org.junit.Assert;
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math.geometry.euclidean.threeD;
|
||||
package org.apache.commons.math.geometry.euclidean.threed;
|
||||
|
||||
import java.util.Locale;
|
||||
|
|
@ -15,9 +15,9 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.commons.math.geometry.euclidean.threeD;
|
||||
package org.apache.commons.math.geometry.euclidean.threed;
|
||||
|
||||
import org.apache.commons.math.geometry.euclidean.threeD.Vector3D;
|
||||
import org.apache.commons.math.geometry.euclidean.threed.Vector3D;
|
||||
import org.apache.commons.math.util.FastMath;
|
||||
import org.apache.commons.math.exception.MathArithmeticException;
|
||||
|
|
@ -14,11 +14,11 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math.geometry.euclidean.twoD;
|
||||
package org.apache.commons.math.geometry.euclidean.twod;
|
||||
|
||||
import org.apache.commons.math.geometry.euclidean.oneD.Point1D;
|
||||
import org.apache.commons.math.geometry.euclidean.twoD.Line;
|
||||
import org.apache.commons.math.geometry.euclidean.twoD.Point2D;
|
||||
import org.apache.commons.math.geometry.euclidean.oned.Point1D;
|
||||
import org.apache.commons.math.geometry.euclidean.twod.Line;
|
||||
import org.apache.commons.math.geometry.euclidean.twod.Point2D;
|
||||
import org.apache.commons.math.geometry.partitioning.Transform;
|
||||
import org.apache.commons.math.util.FastMath;
|
||||
import org.junit.Assert;
|
|
@ -14,17 +14,17 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.commons.math.geometry.euclidean.twoD;
|
||||
package org.apache.commons.math.geometry.euclidean.twod;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.commons.math.geometry.euclidean.oneD.Interval;
|
||||
import org.apache.commons.math.geometry.euclidean.oneD.IntervalsSet;
|
||||
import org.apache.commons.math.geometry.euclidean.oneD.Point1D;
|
||||
import org.apache.commons.math.geometry.euclidean.twoD.Line;
|
||||
import org.apache.commons.math.geometry.euclidean.twoD.Point2D;
|
||||
import org.apache.commons.math.geometry.euclidean.twoD.PolygonsSet;
|
||||
import org.apache.commons.math.geometry.euclidean.oned.Interval;
|
||||
import org.apache.commons.math.geometry.euclidean.oned.IntervalsSet;
|
||||
import org.apache.commons.math.geometry.euclidean.oned.Point1D;
|
||||
import org.apache.commons.math.geometry.euclidean.twod.Line;
|
||||
import org.apache.commons.math.geometry.euclidean.twod.Point2D;
|
||||
import org.apache.commons.math.geometry.euclidean.twod.PolygonsSet;
|
||||
import org.apache.commons.math.geometry.partitioning.BSPTree;
|
||||
import org.apache.commons.math.geometry.partitioning.Region;
|
||||
import org.apache.commons.math.geometry.partitioning.SubHyperplane;
|
Loading…
Reference in New Issue