Uses of Class
org.hipparchus.geometry.euclidean.threed.Vector3D
-
Packages that use Vector3D Package Description org.hipparchus.geometry.euclidean.threed This package provides basic 3D geometry components.org.hipparchus.geometry.spherical.twod This package provides basic geometry components on the 2-sphere. -
-
Uses of Vector3D in org.hipparchus.geometry.euclidean.threed
Fields in org.hipparchus.geometry.euclidean.threed declared as Vector3D Modifier and Type Field Description static Vector3DVector3D. MINUS_IOpposite of the first canonical vector (coordinates: -1, 0, 0).static Vector3DVector3D. MINUS_JOpposite of the second canonical vector (coordinates: 0, -1, 0).static Vector3DVector3D. MINUS_KOpposite of the third canonical vector (coordinates: 0, 0, -1).static Vector3DVector3D. NaNA vector with all coordinates set to NaN.static Vector3DVector3D. NEGATIVE_INFINITYA vector with all coordinates set to negative infinity.static Vector3DVector3D. PLUS_IFirst canonical vector (coordinates: 1, 0, 0).static Vector3DVector3D. PLUS_JSecond canonical vector (coordinates: 0, 1, 0).static Vector3DVector3D. PLUS_KThird canonical vector (coordinates: 0, 0, 1).static Vector3DVector3D. POSITIVE_INFINITYA vector with all coordinates set to positive infinity.static Vector3DVector3D. ZERONull vector (coordinates: 0, 0, 0).Methods in org.hipparchus.geometry.euclidean.threed that return Vector3D Modifier and Type Method Description Vector3DVector3D. add(double factor, Vector<Euclidean3D> v)Add a scaled vector to the instance.Vector3DVector3D. add(Vector<Euclidean3D> v)Add a vector to the instance.Vector3DRotation. applyInverseTo(Vector3D u)Apply the inverse of the rotation to a vector.Vector3DRotation. applyTo(Vector3D u)Apply the rotation to a vector.Vector3DLine. closestPoint(Line line)Compute the point of the instance closest to another line.static Vector3DVector3D. crossProduct(Vector3D v1, Vector3D v2)Compute the cross-product of two vectors.Vector3DVector3D. crossProduct(Vector<Euclidean3D> v)Compute the cross-product of the instance with another vector.Vector3DRotationOrder. getA1()Get the axis of the first rotation.Vector3DRotationOrder. getA2()Get the axis of the second rotation.Vector3DRotationOrder. getA3()Get the axis of the second rotation.Vector3DRotation. getAxis()Deprecated.as of 3.6, replaced withRotation.getAxis(RotationConvention)Vector3DRotation. getAxis(RotationConvention convention)Get the normalized axis of the rotation.Vector3DSphericalCoordinates. getCartesian()Get the Cartesian coordinates.Vector3DLine. getDirection()Get the normalized direction vector.Vector3DSegment. getEnd()Get the end point of the segment.Vector3DPlane. getNormal()Get the normalized normal vector.Vector3DLine. getOrigin()Get the line point closest to the origin.Vector3DPlane. getOrigin()Get the origin point of the plane frame.Vector3DPlane. getPointAt(Vector2D inPlane, double offset)Get one point from the 3D-space.Vector3DSegment. getStart()Get the start point of the segment.Vector3DPlane. getU()Get the plane first canonical vector.Vector3DPlane. getV()Get the plane second canonical vector.Vector3DVector3D. getZero()Get the null vector of the vectorial space or origin point of the affine space.Vector3DLine. intersection(Line line)Get the intersection point of the instance and another line.Vector3DPlane. intersection(Line line)Get the intersection of a line with the instance.static Vector3DPlane. intersection(Plane plane1, Plane plane2, Plane plane3)Get the intersection point of three planes.Vector3DSubLine. intersection(SubLine subLine, boolean includeEndPoints)Get the intersection of the instance and another sub-line.Vector3DVector3D. negate()Get the opposite of the instance.Vector3DVector3D. normalize()Get a normalized vector aligned with the instance.Vector3DVector3D. orthogonal()Get a vector orthogonal to the instance.Vector3DVector3DFormat. parse(String source)Parses a string to produce aVector3Dobject.Vector3DVector3DFormat. parse(String source, ParsePosition pos)Parses a string to produce aVector3Dobject.Vector3DLine. pointAt(double abscissa)Get one point from the line.Vector3DVector3D. scalarMultiply(double a)Multiply the instance by a scalar.Vector3DVector3D. subtract(double factor, Vector<Euclidean3D> v)Subtract a scaled vector from the instance.Vector3DVector3D. subtract(Vector<Euclidean3D> v)Subtract a vector from the instance.Vector3DLine. toSpace(Point<Euclidean1D> point)Transform a sub-space point into a space point.Vector3DLine. toSpace(Vector<Euclidean1D> vector)Transform a sub-space point into a space point.Vector3DPlane. toSpace(Point<Euclidean2D> point)Transform an in-plane point into a 3D space point.Vector3DPlane. toSpace(Vector<Euclidean2D> vector)Transform a sub-space point into a space point.Vector3DFieldVector3D. toVector3D()Convert to a constant vector without derivatives.Methods in org.hipparchus.geometry.euclidean.threed that return types with arguments of type Vector3D Modifier and Type Method Description EnclosingBall<Euclidean3D,Vector3D>SphereGenerator. ballOnSupport(List<Vector3D> support)Create a ball whose boundary lies on prescribed support points.List<Vector3D>PolyhedronsSet.BRep. getVertices()Get the extracted vertices.Methods in org.hipparchus.geometry.euclidean.threed with parameters of type Vector3D Modifier and Type Method Description FieldVector3D<T>FieldVector3D. add(double factor, Vector3D v)Add a scaled vector to the instance.FieldVector3D<T>FieldVector3D. add(Vector3D v)Add a vector to the instance.FieldVector3D<T>FieldVector3D. add(T factor, Vector3D v)Add a scaled vector to the instance.static <T extends RealFieldElement<T>>
TFieldVector3D. angle(FieldVector3D<T> v1, Vector3D v2)Compute the angular separation between two vectors.static <T extends RealFieldElement<T>>
TFieldVector3D. angle(Vector3D v1, FieldVector3D<T> v2)Compute the angular separation between two vectors.static doubleVector3D. 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.Vector3DRotation. applyInverseTo(Vector3D u)Apply the inverse of the rotation to a vector.FieldVector3D<T>FieldRotation. applyTo(Vector3D u)Apply the rotation to a vector.Vector3DRotation. applyTo(Vector3D u)Apply the rotation to a vector.booleanFieldLine. contains(Vector3D p)Check if the instance contains a point.booleanLine. contains(Vector3D p)Check if the instance contains a point.booleanPlane. contains(Vector3D p)Check if the instance contains a point.static <T extends RealFieldElement<T>>
FieldVector3D<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<T>FieldVector3D. crossProduct(Vector3D v1, FieldVector3D<T> v2)Compute the cross-product of two vectors.static Vector3DVector3D. crossProduct(Vector3D v1, Vector3D v2)Compute the cross-product of two vectors.TFieldLine. distance(Vector3D p)Compute the distance between the instance and a point.static <T extends RealFieldElement<T>>
TFieldVector3D. distance(FieldVector3D<T> v1, Vector3D v2)Compute the distance between two vectors according to the L2 norm.TFieldVector3D. distance(Vector3D v)Compute the distance between the instance and another vector according to the L2 norm.static <T extends RealFieldElement<T>>
TFieldVector3D. distance(Vector3D v1, FieldVector3D<T> v2)Compute the distance between two vectors according to the L2 norm.doubleLine. distance(Vector3D p)Compute the distance between the instance and a point.static doubleVector3D. distance(Vector3D v1, Vector3D v2)Compute the distance between two vectors according to the L2 norm.static <T extends RealFieldElement<T>>
TFieldVector3D. distance1(FieldVector3D<T> v1, Vector3D v2)Compute the distance between two vectors according to the L1 norm.TFieldVector3D. distance1(Vector3D v)Compute the distance between the instance and another vector according to the L1 norm.static <T extends RealFieldElement<T>>
TFieldVector3D. distance1(Vector3D v1, FieldVector3D<T> v2)Compute the distance between two vectors according to the L1 norm.static doubleVector3D. distance1(Vector3D v1, Vector3D v2)Compute the distance between two vectors according to the L1 norm.static <T extends RealFieldElement<T>>
TFieldVector3D. distanceInf(FieldVector3D<T> v1, Vector3D v2)Compute the distance between two vectors according to the L∞ norm.TFieldVector3D. distanceInf(Vector3D v)Compute the distance between the instance and another vector according to the L∞ norm.static <T extends RealFieldElement<T>>
TFieldVector3D. distanceInf(Vector3D v1, FieldVector3D<T> v2)Compute the distance between two vectors according to the L∞ norm.static doubleVector3D. distanceInf(Vector3D v1, Vector3D v2)Compute the distance between two vectors according to the L∞ norm.static <T extends RealFieldElement<T>>
TFieldVector3D. distanceSq(FieldVector3D<T> v1, Vector3D v2)Compute the square of the distance between two vectors.TFieldVector3D. distanceSq(Vector3D v)Compute the square of the distance between the instance and another vector.static <T extends RealFieldElement<T>>
TFieldVector3D. distanceSq(Vector3D v1, FieldVector3D<T> v2)Compute the square of the distance between two vectors.static doubleVector3D. distanceSq(Vector3D v1, Vector3D v2)Compute the square of the distance between two vectors.static <T extends RealFieldElement<T>>
TFieldVector3D. dotProduct(FieldVector3D<T> v1, Vector3D v2)Compute the dot-product of two vectors.TFieldVector3D. dotProduct(Vector3D v)Compute the dot-product of the instance and another vector.static <T extends RealFieldElement<T>>
TFieldVector3D. dotProduct(Vector3D v1, FieldVector3D<T> v2)Compute the dot-product of two vectors.static doubleVector3D. 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.TFieldLine. getAbscissa(Vector3D point)Get the abscissa of a point with respect to the line.doubleLine. getAbscissa(Vector3D point)Get the abscissa of a point with respect to the line.voidLine. reset(Vector3D p1, Vector3D p2)Reset the instance as if built from two points.voidPlane. reset(Vector3D p, Vector3D normal)Reset the instance as if built from a point and a normal.PlanePlane. rotate(Vector3D center, Rotation rotation)Rotate the plane around the specified point.PolyhedronsSetPolyhedronsSet. rotate(Vector3D center, Rotation rotation)Rotate the region around the specified point.FieldVector3D<T>FieldVector3D. subtract(double factor, Vector3D v)Subtract a scaled vector from the instance.FieldVector3D<T>FieldVector3D. subtract(Vector3D v)Subtract a vector from the instance.FieldVector3D<T>FieldVector3D. subtract(T factor, Vector3D v)Subtract a scaled vector from the instance.PlanePlane. translate(Vector3D translation)Translate the plane by the specified amount.PolyhedronsSetPolyhedronsSet. translate(Vector3D translation)Translate the region by the specified amount.Method parameters in org.hipparchus.geometry.euclidean.threed with type arguments of type Vector3D Modifier and Type Method Description EnclosingBall<Euclidean3D,Vector3D>SphereGenerator. ballOnSupport(List<Vector3D> support)Create a ball whose boundary lies on prescribed support points.Constructors in org.hipparchus.geometry.euclidean.threed with parameters of type Vector3D Constructor Description FieldVector3D(Field<T> field, Vector3D v)Build aFieldVector3Dfrom aVector3D.FieldVector3D(T a, Vector3D u)Multiplicative constructor.FieldVector3D(T a1, Vector3D u1, T a2, Vector3D u2)Linear constructor.FieldVector3D(T a1, Vector3D u1, T a2, Vector3D u2, T a3, Vector3D u3)Linear constructor.FieldVector3D(T a1, Vector3D u1, T a2, Vector3D u2, T a3, Vector3D u3, T a4, Vector3D u4)Linear constructor.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, double tolerance)Build a plane normal to a given direction and containing the origin.Plane(Vector3D p, Vector3D normal, double tolerance)Build a plane from a point and a normal.Plane(Vector3D p1, Vector3D p2, Vector3D p3, double tolerance)Build a plane from three points.Rotation(Vector3D axis, double angle)Deprecated.as of 3.6, replaced withRotation(Vector3D, double, RotationConvention)Rotation(Vector3D axis, double angle, RotationConvention convention)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 vectors into another pair.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, double tolerance)Create a sub-line from two endpoints.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.Constructor parameters in org.hipparchus.geometry.euclidean.threed with type arguments of type Vector3D Constructor Description BRep(List<Vector3D> vertices, List<int[]> facets)Simple constructor.PolyhedronsSet(List<Vector3D> vertices, List<int[]> facets, double tolerance)Build a polyhedrons set from a Boundary REPresentation (B-rep) specified by connected vertices. -
Uses of Vector3D in org.hipparchus.geometry.spherical.twod
Methods in org.hipparchus.geometry.spherical.twod that return Vector3D Modifier and Type Method Description Vector3DCircle. getPointAt(double alpha)Get a circle point from its phase around the circle.Vector3DEdge. getPointAt(double alpha)Get an intermediate point.Vector3DCircle. getPole()Get the pole of the circle.Vector3DS2Point. getVector()Get the corresponding normalized vector in the 3D euclidean space.Vector3DCircle. getXAxis()Get the X axis of the circle.Vector3DCircle. getYAxis()Get the Y axis of the circle.Methods in org.hipparchus.geometry.spherical.twod with parameters of type Vector3D Modifier and Type Method Description doubleCircle. getOffset(Vector3D direction)Get the offset (oriented distance) of a direction.doubleCircle. getPhase(Vector3D direction)Get the phase angle of a direction.voidCircle. reset(Vector3D newPole)Reset the instance as if built from a pole.Constructors in org.hipparchus.geometry.spherical.twod with parameters of type Vector3D Constructor Description Circle(Vector3D pole, double tolerance)Build a great circle from its pole.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.
-