Package | Description |
---|---|
org.apache.commons.math3.geometry.euclidean.threed |
This package provides basic 3D geometry components.
|
org.apache.commons.math3.geometry.spherical.twod |
This package provides basic geometry components on the 2-sphere.
|
Modifier and Type | Field and Description |
---|---|
private Vector3D |
RotationOrder.a1
Axis of the first rotation.
|
private Vector3D |
RotationOrder.a2
Axis of the second rotation.
|
private Vector3D |
RotationOrder.a3
Axis of the third rotation.
|
private Vector3D |
PolyhedronsSet.RotationTransform.center
Center point of the rotation.
|
private Vector3D |
Line.direction
Line direction.
|
private Vector3D |
Segment.end
End point of the segments.
|
static Vector3D |
Vector3D.MINUS_I
Opposite of the first canonical vector (coordinates: -1, 0, 0).
|
static Vector3D |
Vector3D.MINUS_J
Opposite of the second canonical vector (coordinates: 0, -1, 0).
|
static Vector3D |
Vector3D.MINUS_K
Opposite of the third canonical vector (coordinates: 0, 0, -1).
|
static Vector3D |
Vector3D.NaN
A vector with all coordinates set to NaN.
|
static Vector3D |
Vector3D.NEGATIVE_INFINITY
A vector with all coordinates set to negative infinity.
|
private Vector3D |
Plane.origin
Origin of the plane frame.
|
static Vector3D |
Vector3D.PLUS_I
First canonical vector (coordinates: 1, 0, 0).
|
static Vector3D |
Vector3D.PLUS_J
Second canonical vector (coordinates: 0, 1, 0).
|
static Vector3D |
Vector3D.PLUS_K
Third canonical vector (coordinates: 0, 0, 1).
|
static Vector3D |
Vector3D.POSITIVE_INFINITY
A vector with all coordinates set to positive infinity.
|
private Vector3D |
Segment.start
Start point of the segment.
|
private Vector3D |
PolyhedronsSet.TranslationTransform.translation
Translation vector.
|
private Vector3D |
OutlineExtractor.u
Abscissa axis of the projection plane.
|
private Vector3D |
Plane.u
First vector of the plane frame (in plane).
|
private Vector3D |
OutlineExtractor.v
Ordinate axis of the projection plane.
|
private Vector3D |
SphericalCoordinates.v
Cartesian coordinates.
|
private Vector3D |
Plane.v
Second vector of the plane frame (in plane).
|
private Vector3D |
OutlineExtractor.w
Normal of the projection plane (viewing direction).
|
private Vector3D |
Plane.w
Third vector of the plane frame (plane normal).
|
private Vector3D |
Line.zero
Line point closest to the origin.
|
static Vector3D |
Vector3D.ZERO
Null vector (coordinates: 0, 0, 0).
|
Modifier and Type | Method and Description |
---|---|
Vector3D |
Vector3D.add(double factor,
Vector<Euclidean3D> v)
Add a scaled vector to the instance.
|
Vector3D |
Vector3D.add(Vector<Euclidean3D> v)
Add a vector to the instance.
|
Vector3D |
PolyhedronsSet.RotationTransform.apply(Point<Euclidean3D> point)
Transform a point of a space.
|
Vector3D |
PolyhedronsSet.TranslationTransform.apply(Point<Euclidean3D> point)
Transform a point of a space.
|
Vector3D |
Rotation.applyInverseTo(Vector3D u)
Apply the inverse of the rotation to a vector.
|
Vector3D |
Rotation.applyTo(Vector3D u)
Apply the rotation to a vector.
|
Vector3D |
Line.closestPoint(Line line)
Compute the point of the instance closest to another line.
|
Vector3D |
Vector3D.crossProduct(Vector<Euclidean3D> v)
Compute the cross-product of the instance with another vector.
|
static Vector3D |
Vector3D.crossProduct(Vector3D v1,
Vector3D v2)
Compute the cross-product of two vectors.
|
Vector3D |
RotationOrder.getA1()
Get the axis of the first rotation.
|
Vector3D |
RotationOrder.getA2()
Get the axis of the second rotation.
|
Vector3D |
RotationOrder.getA3()
Get the axis of the second rotation.
|
Vector3D |
Rotation.getAxis()
Get the normalized axis of the rotation.
|
Vector3D |
SphericalCoordinates.getCartesian()
Get the Cartesian coordinates.
|
Vector3D |
Line.getDirection()
Get the normalized direction vector.
|
Vector3D |
Segment.getEnd()
Get the end point of the segment.
|
Vector3D |
Plane.getNormal()
Get the normalized normal vector.
|
Vector3D |
Line.getOrigin()
Get the line point closest to the origin.
|
Vector3D |
Plane.getOrigin()
Get the origin point of the plane frame.
|
Vector3D |
Plane.getPointAt(Vector2D inPlane,
double offset)
Get one point from the 3D-space.
|
Vector3D |
Segment.getStart()
Get the start point of the segment.
|
Vector3D |
Plane.getU()
Get the plane first canonical vector.
|
Vector3D |
Plane.getV()
Get the plane second canonical vector.
|
Vector3D |
Vector3D.getZero()
Get the null vector of the vectorial space or origin point of the affine space.
|
Vector3D |
Line.intersection(Line line)
Get the intersection point of the instance and another line.
|
Vector3D |
Plane.intersection(Line line)
Get the intersection of a line with the instance.
|
static Vector3D |
Plane.intersection(Plane plane1,
Plane plane2,
Plane plane3)
Get the intersection point of three planes.
|
Vector3D |
SubLine.intersection(SubLine subLine,
boolean includeEndPoints)
Get the intersection of the instance and another sub-line.
|
Vector3D |
Vector3D.negate()
Get the opposite of the instance.
|
Vector3D |
Vector3D.normalize()
Get a normalized vector aligned with the instance.
|
Vector3D |
Vector3D.orthogonal()
Get a vector orthogonal to the instance.
|
Vector3D |
Vector3DFormat.parse(java.lang.String source)
Parses a string to produce a
Vector3D object. |
Vector3D |
Vector3DFormat.parse(java.lang.String source,
java.text.ParsePosition pos)
Parses a string to produce a
Vector3D object. |
Vector3D |
Line.pointAt(double abscissa)
Get one point from the line.
|
Vector3D |
Vector3D.scalarMultiply(double a)
Multiply the instance by a scalar.
|
Vector3D |
Vector3D.subtract(double factor,
Vector<Euclidean3D> v)
Subtract a scaled vector from the instance.
|
Vector3D |
Vector3D.subtract(Vector<Euclidean3D> v)
Subtract a vector from the instance.
|
Vector3D |
Line.toSpace(Point<Euclidean1D> point)
Transform a sub-space point into a space point.
|
Vector3D |
Plane.toSpace(Point<Euclidean2D> point)
Transform an in-plane point into a 3D space point.
|
Vector3D |
Line.toSpace(Vector<Euclidean1D> vector)
Transform a sub-space point into a space point.
|
Vector3D |
Plane.toSpace(Vector<Euclidean2D> vector)
Transform a sub-space point into a space point.
|
Vector3D |
FieldVector3D.toVector3D()
Convert to a constant vector without derivatives.
|
Modifier and Type | Method and Description |
---|---|
EnclosingBall<Euclidean3D,Vector3D> |
SphereGenerator.ballOnSupport(java.util.List<Vector3D> support)
Create a ball whose boundary lies on prescribed support points.
|
Modifier and Type | Method and Description |
---|---|
FieldVector3D<T> |
FieldVector3D.add(double factor,
Vector3D v)
Add a scaled vector to the instance.
|
FieldVector3D<T> |
FieldVector3D.add(T factor,
Vector3D v)
Add a scaled vector to the instance.
|
FieldVector3D<T> |
FieldVector3D.add(Vector3D v)
Add a vector to the instance.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.angle(FieldVector3D<T> v1,
Vector3D v2)
Compute the angular separation between two vectors.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.angle(Vector3D v1,
FieldVector3D<T> v2)
Compute the angular separation between two vectors.
|
static double |
Vector3D.angle(Vector3D v1,
Vector3D v2)
Compute the angular separation between two vectors.
|
FieldVector3D<T> |
FieldRotation.applyInverseTo(Vector3D u)
Apply the inverse of the rotation to a vector.
|
Vector3D |
Rotation.applyInverseTo(Vector3D u)
Apply the inverse of the rotation to a vector.
|
FieldVector3D<T> |
FieldRotation.applyTo(Vector3D u)
Apply the rotation to a vector.
|
Vector3D |
Rotation.applyTo(Vector3D u)
Apply the rotation to a vector.
|
private SubHyperplane<Euclidean3D> |
PolyhedronsSet.boundaryFacet(Vector3D point,
BSPTree<Euclidean3D> node)
Check if a point belongs to the boundary part of a node.
|
private static IntervalsSet |
SubLine.buildIntervalSet(Vector3D start,
Vector3D end,
double tolerance)
Build an interval set from two points.
|
boolean |
Line.contains(Vector3D p)
Check if the instance contains a point.
|
boolean |
Plane.contains(Vector3D p)
Check if the instance contains a point.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.crossProduct(FieldVector3D<T> v1,
Vector3D v2)
Compute the cross-product of two vectors.
|
FieldVector3D<T> |
FieldVector3D.crossProduct(Vector3D v)
Compute the cross-product of the instance with another vector.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.crossProduct(Vector3D v1,
FieldVector3D<T> v2)
Compute the cross-product of two vectors.
|
static Vector3D |
Vector3D.crossProduct(Vector3D v1,
Vector3D v2)
Compute the cross-product of two vectors.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.distance(FieldVector3D<T> v1,
Vector3D v2)
Compute the distance between two vectors according to the L2 norm.
|
T |
FieldVector3D.distance(Vector3D v)
Compute the distance between the instance and another vector according to the L2 norm.
|
double |
Line.distance(Vector3D p)
Compute the distance between the instance and a point.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.distance(Vector3D v1,
FieldVector3D<T> v2)
Compute the distance between two vectors according to the L2 norm.
|
static double |
Vector3D.distance(Vector3D v1,
Vector3D v2)
Compute the distance between two vectors according to the L2 norm.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.distance1(FieldVector3D<T> v1,
Vector3D v2)
Compute the distance between two vectors according to the L1 norm.
|
T |
FieldVector3D.distance1(Vector3D v)
Compute the distance between the instance and another vector according to the L1 norm.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.distance1(Vector3D v1,
FieldVector3D<T> v2)
Compute the distance between two vectors according to the L1 norm.
|
static double |
Vector3D.distance1(Vector3D v1,
Vector3D v2)
Compute the distance between two vectors according to the L1 norm.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.distanceInf(FieldVector3D<T> v1,
Vector3D v2)
Compute the distance between two vectors according to the L∞ norm.
|
T |
FieldVector3D.distanceInf(Vector3D v)
Compute the distance between the instance and another vector according to the L∞ norm.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.distanceInf(Vector3D v1,
FieldVector3D<T> v2)
Compute the distance between two vectors according to the L∞ norm.
|
static double |
Vector3D.distanceInf(Vector3D v1,
Vector3D v2)
Compute the distance between two vectors according to the L∞ norm.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.distanceSq(FieldVector3D<T> v1,
Vector3D v2)
Compute the square of the distance between two vectors.
|
T |
FieldVector3D.distanceSq(Vector3D v)
Compute the square of the distance between the instance and another vector.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.distanceSq(Vector3D v1,
FieldVector3D<T> v2)
Compute the square of the distance between two vectors.
|
static double |
Vector3D.distanceSq(Vector3D v1,
Vector3D v2)
Compute the square of the distance between two vectors.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.dotProduct(FieldVector3D<T> v1,
Vector3D v2)
Compute the dot-product of two vectors.
|
T |
FieldVector3D.dotProduct(Vector3D v)
Compute the dot-product of the instance and another vector.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.dotProduct(Vector3D v1,
FieldVector3D<T> v2)
Compute the dot-product of two vectors.
|
static double |
Vector3D.dotProduct(Vector3D v1,
Vector3D v2)
Compute the dot-product of two vectors.
|
SubHyperplane<Euclidean3D> |
PolyhedronsSet.firstIntersection(Vector3D point,
Line line)
Get the first sub-hyperplane crossed by a semi-infinite line.
|
double |
Line.getAbscissa(Vector3D point)
Get the abscissa of a point with respect to the line.
|
private SubHyperplane<Euclidean3D> |
PolyhedronsSet.recurseFirstIntersection(BSPTree<Euclidean3D> node,
Vector3D point,
Line line)
Get the first sub-hyperplane crossed by a semi-infinite line.
|
void |
Line.reset(Vector3D p1,
Vector3D p2)
Reset the instance as if built from two points.
|
void |
Plane.reset(Vector3D p,
Vector3D normal)
Reset the instance as if built from a point and a normal.
|
PolyhedronsSet |
PolyhedronsSet.rotate(Vector3D center,
Rotation rotation)
Rotate the region around the specified point.
|
Plane |
Plane.rotate(Vector3D center,
Rotation rotation)
Rotate the plane around the specified point.
|
private void |
Plane.setNormal(Vector3D normal)
Set the normal vactor.
|
FieldVector3D<T> |
FieldVector3D.subtract(double factor,
Vector3D v)
Subtract a scaled vector from the instance.
|
FieldVector3D<T> |
FieldVector3D.subtract(T factor,
Vector3D v)
Subtract a scaled vector from the instance.
|
FieldVector3D<T> |
FieldVector3D.subtract(Vector3D v)
Subtract a vector from the instance.
|
PolyhedronsSet |
PolyhedronsSet.translate(Vector3D translation)
Translate the region by the specified amount.
|
Plane |
Plane.translate(Vector3D translation)
Translate the plane by the specified amount.
|
Modifier and Type | Method and Description |
---|---|
EnclosingBall<Euclidean3D,Vector3D> |
SphereGenerator.ballOnSupport(java.util.List<Vector3D> support)
Create a ball whose boundary lies on prescribed support points.
|
Constructor and Description |
---|
FieldVector3D(T a,
Vector3D u)
Multiplicative constructor
Build a vector from another one and a scale factor.
|
FieldVector3D(T a1,
Vector3D u1,
T a2,
Vector3D u2)
Linear constructor
Build a vector from two other ones and corresponding scale factors.
|
FieldVector3D(T a1,
Vector3D u1,
T a2,
Vector3D u2,
T a3,
Vector3D u3)
Linear constructor
Build a vector from three other ones and corresponding scale factors.
|
FieldVector3D(T a1,
Vector3D u1,
T a2,
Vector3D u2,
T a3,
Vector3D u3,
T a4,
Vector3D u4)
Linear constructor
Build a vector from four other ones and corresponding scale factors.
|
Line(Vector3D p1,
Vector3D p2)
Deprecated.
as of 3.3, replaced with
Line.Line(Vector3D, Vector3D, double) |
Line(Vector3D p1,
Vector3D p2,
double tolerance)
Build a line from two points.
|
OutlineExtractor(Vector3D u,
Vector3D v)
Build an extractor for a specific projection plane.
|
Plane(Vector3D normal)
Deprecated.
as of 3.3, replaced with
Plane.Plane(Vector3D, double) |
Plane(Vector3D normal,
double tolerance)
Build a plane normal to a given direction and containing the origin.
|
Plane(Vector3D p,
Vector3D normal)
Deprecated.
as of 3.3, replaced with
Plane.Plane(Vector3D, Vector3D, double) |
Plane(Vector3D p,
Vector3D normal,
double tolerance)
Build a plane from a point and a normal.
|
Plane(Vector3D p1,
Vector3D p2,
Vector3D p3)
Deprecated.
as of 3.3, replaced with
Plane.Plane(Vector3D, Vector3D, Vector3D, double) |
Plane(Vector3D p1,
Vector3D p2,
Vector3D p3,
double tolerance)
Build a plane from three points.
|
Rotation(Vector3D axis,
double angle)
Build a rotation from an axis and an angle.
|
Rotation(Vector3D u,
Vector3D v)
Build one of the rotations that transform one vector into another one.
|
Rotation(Vector3D u1,
Vector3D u2,
Vector3D v1,
Vector3D v2)
Build the rotation that transforms a pair of vector into another pair.
|
RotationOrder(java.lang.String name,
Vector3D a1,
Vector3D a2,
Vector3D a3)
Private constructor.
|
RotationTransform(Vector3D center,
Rotation rotation)
Build a rotation transform.
|
Segment(Vector3D start,
Vector3D end,
Line line)
Build a segment.
|
SphericalCoordinates(Vector3D v)
Build a spherical coordinates transformer from Cartesian coordinates.
|
SubLine(Vector3D start,
Vector3D end)
Deprecated.
as of 3.3, replaced with
SubLine.SubLine(Vector3D, Vector3D, double) |
SubLine(Vector3D start,
Vector3D end,
double tolerance)
Create a sub-line from two endpoints.
|
TranslationTransform(Vector3D translation)
Build a translation transform.
|
Vector3D(double a,
Vector3D u)
Multiplicative constructor
Build a vector from another one and a scale factor.
|
Vector3D(double a1,
Vector3D u1,
double a2,
Vector3D u2)
Linear constructor
Build a vector from two other ones and corresponding scale factors.
|
Vector3D(double a1,
Vector3D u1,
double a2,
Vector3D u2,
double a3,
Vector3D u3)
Linear constructor
Build a vector from three other ones and corresponding scale factors.
|
Vector3D(double a1,
Vector3D u1,
double a2,
Vector3D u2,
double a3,
Vector3D u3,
double a4,
Vector3D u4)
Linear constructor
Build a vector from four other ones and corresponding scale factors.
|
Modifier and Type | Field and Description |
---|---|
private Vector3D |
Circle.pole
Pole or circle center.
|
private Vector3D |
PropertiesComputer.summedBarycenter
Summed barycenter.
|
private Vector3D |
S2Point.vector
Corresponding 3D normalized vector.
|
private Vector3D |
Circle.x
First axis in the equator plane, origin of the phase angles.
|
private Vector3D |
Circle.y
Second axis in the equator plane, in quadrature with respect to x.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<Vector3D> |
PropertiesComputer.convexCellsInsidePoints
List of points strictly inside convex cells.
|
Modifier and Type | Method and Description |
---|---|
private Vector3D |
PropertiesComputer.convexCellBarycenter(Vertex start)
Compute convex cell barycenter.
|
Vector3D |
Circle.getPointAt(double alpha)
Get a circle point from its phase around the circle.
|
Vector3D |
Edge.getPointAt(double alpha)
Get an intermediate point.
|
Vector3D |
Circle.getPole()
Get the pole of the circle.
|
Vector3D |
S2Point.getVector()
Get the corresponding normalized vector in the 3D euclidean space.
|
Vector3D |
Circle.getXAxis()
Get the X axis of the circle.
|
Vector3D |
Circle.getYAxis()
Get the Y axis of the circle.
|
private static Vector3D |
S2Point.vector(double theta,
double phi)
Build the normalized vector corresponding to spherical coordinates.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Vector3D> |
PropertiesComputer.getConvexCellsInsidePoints()
Get the points strictly inside convex cells.
|
private java.util.List<Vector3D> |
SphericalPolygonsSet.getInsidePoints()
Gather some inside points.
|
private java.util.List<Vector3D> |
SphericalPolygonsSet.getOutsidePoints()
Gather some outside points.
|
Modifier and Type | Method and Description |
---|---|
private static S2Point[] |
SphericalPolygonsSet.createRegularPolygonVertices(Vector3D center,
Vector3D meridian,
double outsideRadius,
int n)
Build the vertices representing a regular polygon.
|
double |
Circle.getOffset(Vector3D direction)
Get the offset (oriented distance) of a direction.
|
double |
Circle.getPhase(Vector3D direction)
Get the phase angle of a direction.
|
void |
Circle.reset(Vector3D newPole)
Reset the instance as if built from a pole.
|
Constructor and Description |
---|
Circle(Vector3D pole,
double tolerance)
Build a great circle from its pole.
|
Circle(Vector3D pole,
Vector3D x,
Vector3D y,
double tolerance)
Build a circle from its internal components.
|
S2Point(double theta,
double phi,
Vector3D vector)
Build a point from its internal components.
|
S2Point(Vector3D vector)
Simple constructor.
|
SphericalPolygonsSet(Vector3D pole,
double tolerance)
Build a polygons set representing a hemisphere.
|
SphericalPolygonsSet(Vector3D center,
Vector3D meridian,
double outsideRadius,
int n,
double tolerance)
Build a polygons set representing a regular polygon.
|