Uses of Class
org.hipparchus.geometry.euclidean.oned.Vector1D
-
Packages that use Vector1D Package Description org.hipparchus.geometry.euclidean.oned This package provides basic 1D geometry components.org.hipparchus.geometry.euclidean.threed This package provides basic 3D geometry components.org.hipparchus.geometry.euclidean.twod This package provides basic 2D geometry components. -
-
Uses of Vector1D in org.hipparchus.geometry.euclidean.oned
Fields in org.hipparchus.geometry.euclidean.oned declared as Vector1D Modifier and Type Field Description static Vector1DVector1D. NaNA vector with all coordinates set to NaN.static Vector1DVector1D. NEGATIVE_INFINITYA vector with all coordinates set to negative infinity.static Vector1DVector1D. ONEUnit (coordinates: 1).static Vector1DVector1D. POSITIVE_INFINITYA vector with all coordinates set to positive infinity.static Vector1DVector1D. ZEROOrigin (coordinates: 0).Methods in org.hipparchus.geometry.euclidean.oned that return Vector1D Modifier and Type Method Description Vector1DVector1D. add(double factor, Vector<Euclidean1D> v)Add a scaled vector to the instance.Vector1DVector1D. add(Vector<Euclidean1D> v)Add a vector to the instance.Vector1DOrientedPoint. getLocation()Get the hyperplane location on the real line.Vector1DVector1D. getZero()Get the null vector of the vectorial space or origin point of the affine space.Vector1DVector1D. negate()Get the opposite of the instance.Vector1DVector1D. normalize()Get a normalized vector aligned with the instance.Vector1DVector1DFormat. parse(String source)Parses a string to produce aVectorobject.Vector1DVector1DFormat. parse(String source, ParsePosition pos)Parses a string to produce aVectorobject.Vector1DVector1D. scalarMultiply(double a)Multiply the instance by a scalar.Vector1DVector1D. subtract(double factor, Vector<Euclidean1D> v)Subtract a scaled vector from the instance.Vector1DVector1D. subtract(Vector<Euclidean1D> p)Subtract a vector from the instance.Methods in org.hipparchus.geometry.euclidean.oned with parameters of type Vector1D Modifier and Type Method Description static doubleVector1D. distance(Vector1D p1, Vector1D p2)Compute the distance between two vectors according to the L2 norm.static doubleVector1D. distanceInf(Vector1D p1, Vector1D p2)Compute the distance between two vectors according to the L∞ norm.static doubleVector1D. distanceSq(Vector1D p1, Vector1D p2)Compute the square of the distance between two vectors.Constructors in org.hipparchus.geometry.euclidean.oned with parameters of type Vector1D Constructor Description OrientedPoint(Vector1D location, boolean direct, double tolerance)Simple constructor.Vector1D(double a, Vector1D u)Multiplicative constructor Build a vector from another one and a scale factor.Vector1D(double a1, Vector1D u1, double a2, Vector1D u2)Linear constructor Build a vector from two other ones and corresponding scale factors.Vector1D(double a1, Vector1D u1, double a2, Vector1D u2, double a3, Vector1D u3)Linear constructor Build a vector from three other ones and corresponding scale factors.Vector1D(double a1, Vector1D u1, double a2, Vector1D u2, double a3, Vector1D u3, double a4, Vector1D u4)Linear constructor Build a vector from four other ones and corresponding scale factors. -
Uses of Vector1D in org.hipparchus.geometry.euclidean.threed
Methods in org.hipparchus.geometry.euclidean.threed that return Vector1D Modifier and Type Method Description Vector1DLine. toSubSpace(Point<Euclidean3D> point)Transform a space point into a sub-space point.Vector1DLine. toSubSpace(Vector<Euclidean3D> vector)Transform a space point into a sub-space point. -
Uses of Vector1D in org.hipparchus.geometry.euclidean.twod
Methods in org.hipparchus.geometry.euclidean.twod that return Vector1D Modifier and Type Method Description Vector1DLine. toSubSpace(Point<Euclidean2D> point)Transform a space point into a sub-space point.Vector1DLine. toSubSpace(Vector<Euclidean2D> vector)Transform a space point into a sub-space point.Methods in org.hipparchus.geometry.euclidean.twod with parameters of type Vector1D Modifier and Type Method Description Vector2DLine. getPointAt(Vector1D abscissa, double offset)Get one point from the plane.
-