Uses of Class
org.hipparchus.geometry.euclidean.threed.Vector3D
Package
Description
This package provides basic 3D geometry components.
This package provides basic geometry components on the 2-sphere.
-
Uses of Vector3D in org.hipparchus.geometry.euclidean.threed
Modifier and TypeFieldDescriptionstatic final Vector3D
Vector3D.MINUS_I
Opposite of the first canonical vector (coordinates: -1, 0, 0).static final Vector3D
Vector3D.MINUS_J
Opposite of the second canonical vector (coordinates: 0, -1, 0).static final Vector3D
Vector3D.MINUS_K
Opposite of the third canonical vector (coordinates: 0, 0, -1).static final Vector3D
Vector3D.NaN
A vector with all coordinates set to NaN.static final Vector3D
Vector3D.NEGATIVE_INFINITY
A vector with all coordinates set to negative infinity.static final Vector3D
Vector3D.PLUS_I
First canonical vector (coordinates: 1, 0, 0).static final Vector3D
Vector3D.PLUS_J
Second canonical vector (coordinates: 0, 1, 0).static final Vector3D
Vector3D.PLUS_K
Third canonical vector (coordinates: 0, 0, 1).static final Vector3D
Vector3D.POSITIVE_INFINITY
A vector with all coordinates set to positive infinity.static final Vector3D
Vector3D.ZERO
Null vector (coordinates: 0, 0, 0).Modifier and TypeMethodDescriptionVector3D.add
(double factor, Vector<Euclidean3D, Vector3D> v) Add a scaled vector to the instance.Vector3D.add
(Vector<Euclidean3D, Vector3D> v) Add a vector to the instance.Rotation.applyInverseTo
(Vector3D u) Apply the inverse of the rotation to a vector.Apply the rotation to a vector.Line.closestPoint
(Line line) Compute the point of the instance closest to another line.static Vector3D
Vector3D.crossProduct
(Vector3D v1, Vector3D v2) Compute the cross-product of two vectors.Vector3D.crossProduct
(Vector<Euclidean3D, Vector3D> v) Compute the cross-product of the instance with another vector.RotationOrder.getA1()
Get the axis of the first rotation.RotationOrder.getA2()
Get the axis of the second rotation.RotationOrder.getA3()
Get the axis of the third rotation.Rotation.getAxis
(RotationConvention convention) Get the normalized axis of the rotation.SphericalCoordinates.getCartesian()
Get the Cartesian coordinates.Line.getDirection()
Get the normalized direction vector.Segment.getEnd()
Get the end point of the segment.Plane.getNormal()
Get the normalized normal vector.Line.getOrigin()
Get the line point closest to the origin.Plane.getOrigin()
Get the origin point of the plane frame.Plane.getPointAt
(Vector2D inPlane, double offset) Get one point from the 3D-space.Segment.getStart()
Get the start point of the segment.Plane.getU()
Get the plane first canonical vector.Plane.getV()
Get the plane second canonical vector.Vector3D.getZero()
Get the null vector of the vectorial space or origin point of the affine space.Line.intersection
(Line line) Get the intersection point of the instance and another line.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.SubLine.intersection
(SubLine subLine, boolean includeEndPoints) Get the intersection of the instance and another sub-line.Vector3D.negate()
Get the opposite of the instance.Vector3D.orthogonal()
Get a vector orthogonal to the instance.Parses a string to produce aVector3D
object.Vector3DFormat.parse
(String source, ParsePosition pos) Parses a string to produce aVector3D
object.Line.pointAt
(double abscissa) Get one point from the line.Vector3D.scalarMultiply
(double a) Multiply the instance by a scalar.Vector3D.subtract
(double factor, Vector<Euclidean3D, Vector3D> v) Subtract a scaled vector from the instance.Vector3D.subtract
(Vector<Euclidean3D, Vector3D> v) Subtract a vector from the instance.Line.toSpace
(Point<Euclidean1D> point) Transform a sub-space point into a space point.Line.toSpace
(Vector<Euclidean1D, Vector1D> vector) Transform a sub-space point into a space point.Plane.toSpace
(Point<Euclidean2D> point) Transform an in-plane point into a 3D space point.Plane.toSpace
(Vector<Euclidean2D, Vector2D> vector) Transform a sub-space point into a space point.FieldVector3D.toVector3D()
Convert to a constant vector without extra field parts.Modifier and TypeMethodDescriptionSphereGenerator.ballOnSupport
(List<Vector3D> support) Create a ball whose boundary lies on prescribed support points.PolyhedronsSet.BRep.getVertices()
Get the extracted vertices.Modifier and TypeMethodDescriptionAdd a scaled vector to the instance.Add a vector to the instance.Add a scaled vector to the instance.static <T extends CalculusFieldElement<T>>
TFieldVector3D.angle
(FieldVector3D<T> v1, Vector3D v2) Compute the angular separation between two vectors.static <T extends CalculusFieldElement<T>>
TFieldVector3D.angle
(Vector3D v1, FieldVector3D<T> v2) Compute the angular separation between two vectors.static double
Compute the angular separation between two vectors.FieldRotation.applyInverseTo
(Vector3D u) Apply the inverse of the rotation to a vector.Rotation.applyInverseTo
(Vector3D u) Apply the inverse of the rotation to a vector.Apply the rotation to a vector.Apply the rotation to a vector.boolean
Check if the instance contains a point.boolean
Check if the instance contains a point.boolean
Check if the instance contains a point.static <T extends CalculusFieldElement<T>>
FieldVector3D<T>FieldVector3D.crossProduct
(FieldVector3D<T> v1, Vector3D v2) Compute the cross-product of two vectors.FieldVector3D.crossProduct
(Vector3D v) Compute the cross-product of the instance with another vector.static <T extends CalculusFieldElement<T>>
FieldVector3D<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.Compute the distance between the instance and a point.static <T extends CalculusFieldElement<T>>
TFieldVector3D.distance
(FieldVector3D<T> v1, Vector3D v2) Compute the distance between two vectors according to the L2 norm.Compute the distance between the instance and another vector according to the L2 norm.static <T extends CalculusFieldElement<T>>
TFieldVector3D.distance
(Vector3D v1, FieldVector3D<T> v2) Compute the distance between two vectors according to the L2 norm.double
Compute the distance between the instance and a point.static double
Compute the distance between two vectors according to the L2 norm.static <T extends CalculusFieldElement<T>>
TFieldVector3D.distance1
(FieldVector3D<T> v1, Vector3D v2) Compute the distance between two vectors according to the L1 norm.Compute the distance between the instance and another vector according to the L1 norm.static <T extends CalculusFieldElement<T>>
TFieldVector3D.distance1
(Vector3D v1, FieldVector3D<T> v2) Compute the distance between two vectors according to the L1 norm.static double
Compute the distance between two vectors according to the L1 norm.static <T extends CalculusFieldElement<T>>
TFieldVector3D.distanceInf
(FieldVector3D<T> v1, Vector3D v2) Compute the distance between two vectors according to the L∞ norm.FieldVector3D.distanceInf
(Vector3D v) Compute the distance between the instance and another vector according to the L∞ norm.static <T extends CalculusFieldElement<T>>
TFieldVector3D.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 CalculusFieldElement<T>>
TFieldVector3D.distanceSq
(FieldVector3D<T> v1, Vector3D v2) Compute the square of the distance between two vectors.FieldVector3D.distanceSq
(Vector3D v) Compute the square of the distance between the instance and another vector.static <T extends CalculusFieldElement<T>>
TFieldVector3D.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 CalculusFieldElement<T>>
TFieldVector3D.dotProduct
(FieldVector3D<T> v1, Vector3D v2) Compute the dot-product of two vectors.FieldVector3D.dotProduct
(Vector3D v) Compute the dot-product of the instance and another vector.static <T extends CalculusFieldElement<T>>
TFieldVector3D.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.PolyhedronsSet.firstIntersection
(Vector3D point, Line line) Get the first sub-hyperplane crossed by a semi-infinite line.static Line
Line.fromDirection
(Vector3D point, Vector3D direction, double tolerance) Create a line from a point and a direction.FieldLine.getAbscissa
(Vector3D point) Get the abscissa of a point with respect to the line.double
Line.getAbscissa
(Vector3D point) Get the abscissa of a point with respect to the line.void
Reset the instance as if built from two points.void
Reset the instance as if built from a point and a normal.Rotate the plane around the specified point.Rotate the region around the specified point.Subtract a scaled vector from the instance.Subtract a vector from the instance.Subtract a scaled vector from the instance.Translate the plane by the specified amount.Translate the region by the specified amount.Modifier and TypeMethodDescriptionVector3D.add
(double factor, Vector<Euclidean3D, Vector3D> v) Add a scaled vector to the instance.Vector3D.add
(Vector<Euclidean3D, Vector3D> v) Add a vector to the instance.SphereGenerator.ballOnSupport
(List<Vector3D> support) Create a ball whose boundary lies on prescribed support points.Vector3D.crossProduct
(Vector<Euclidean3D, Vector3D> v) Compute the cross-product of the instance with another vector.double
Vector3D.distance1
(Vector<Euclidean3D, Vector3D> v) Compute the distance between the instance and another vector according to the L1 norm.double
Vector3D.distanceInf
(Vector<Euclidean3D, Vector3D> v) Compute the distance between the instance and another vector according to the L∞ norm.double
Vector3D.distanceSq
(Vector<Euclidean3D, Vector3D> v) Compute the square of the distance between the instance and another vector.double
Vector3D.dotProduct
(Vector<Euclidean3D, Vector3D> v) Compute the dot-product of the instance and another vector.Vector3DFormat.format
(Vector<Euclidean3D, Vector3D> vector, StringBuffer toAppendTo, FieldPosition pos) Formats aVector3D
object to produce a string.double
Plane.getOffset
(Vector<Euclidean3D, Vector3D> vector) Get the offset (oriented distance) of a vector.Vector3D.subtract
(double factor, Vector<Euclidean3D, Vector3D> v) Subtract a scaled vector from the instance.Vector3D.subtract
(Vector<Euclidean3D, Vector3D> v) Subtract a vector from the instance.Line.toSubSpace
(Vector<Euclidean3D, Vector3D> vector) Transform a space point into a sub-space point.Plane.toSubSpace
(Vector<Euclidean3D, Vector3D> vector) Transform a space point into a sub-space point.ModifierConstructorDescriptionFieldVector3D
(Field<T> field, Vector3D v) Build aFieldVector3D
from aVector3D
.FieldVector3D
(T a, Vector3D u) Multiplicative constructor.FieldVector3D
(T a1, Vector3D u1, T a2, Vector3D u2) Linear constructor.Linear constructor.Linear constructor.Build a line from two points.OutlineExtractor
(Vector3D u, Vector3D v) Build an extractor for a specific projection plane.Build a plane normal to a given direction and containing the origin.Build a plane from a point and a normal.Build a plane from three points.Rotation
(Vector3D axis, double angle, RotationConvention convention) Build a rotation from an axis and an angle.Build one of the rotations that transform one vector into another one.Build the rotation that transforms a pair of vectors into another pair.Build a segment.Build a spherical coordinates transformer from Cartesian coordinates.Create a sub-line from two endpoints.Multiplicative constructor Build a vector from another one and a scale factor.Linear constructor Build a vector from two other ones and corresponding scale factors.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. -
Uses of Vector3D in org.hipparchus.geometry.spherical.twod
Modifier and TypeMethodDescriptionCircle.getPointAt
(double alpha) Get a circle point from its phase around the circle.Edge.getPointAt
(double alpha) Get an intermediate point.Circle.getPole()
Get the pole of the circle.S2Point.getVector()
Get the corresponding normalized vector in the 3D euclidean space.Circle.getXAxis()
Get the X axis of the circle.Circle.getYAxis()
Get the Y axis of the circle.Modifier and TypeMethodDescriptiondouble
Get the offset (oriented distance) of a direction.double
Get the phase angle of a direction.void
Reset the instance as if built from a pole.ModifierConstructorDescriptionBuild a great circle from its pole.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.