Uses of Class
org.hipparchus.geometry.euclidean.oned.Vector1D
Package
Description
This package provides basic 1D geometry components.
This package provides basic 3D geometry components.
This package provides basic 2D geometry components.
-
Uses of Vector1D in org.hipparchus.geometry.euclidean.oned
Modifier and TypeFieldDescriptionstatic final Vector1D
Vector1D.NaN
A vector with all coordinates set to NaN.static final Vector1D
Vector1D.NEGATIVE_INFINITY
A vector with all coordinates set to negative infinity.static final Vector1D
Vector1D.ONE
Unit (coordinates: 1).static final Vector1D
Vector1D.POSITIVE_INFINITY
A vector with all coordinates set to positive infinity.static final Vector1D
Vector1D.ZERO
Origin (coordinates: 0).Modifier and TypeMethodDescriptionVector1D.add
(double factor, Vector<Euclidean1D, Vector1D> v) Add a scaled vector to the instance.Vector1D.add
(Vector<Euclidean1D, Vector1D> v) Add a vector to the instance.OrientedPoint.getLocation()
Get the hyperplane location on the real line.Vector1D.getZero()
Get the null vector of the vectorial space or origin point of the affine space.Vector1D.negate()
Get the opposite of the instance.Parses a string to produce aVector
object.Vector1DFormat.parse
(String source, ParsePosition pos) Parses a string to produce aVector
object.Vector1D.scalarMultiply
(double a) Multiply the instance by a scalar.Vector1D.subtract
(double factor, Vector<Euclidean1D, Vector1D> v) Subtract a scaled vector from the instance.Vector1D.subtract
(Vector<Euclidean1D, Vector1D> p) Subtract a vector from the instance.Modifier and TypeMethodDescriptionstatic double
Compute the distance between two vectors according to the L2 norm.static double
Vector1D.distanceInf
(Vector1D p1, Vector1D p2) Compute the distance between two vectors according to the L∞ norm.static double
Vector1D.distanceSq
(Vector1D p1, Vector1D p2) Compute the square of the distance between two vectors.Modifier and TypeMethodDescriptionVector1D.add
(double factor, Vector<Euclidean1D, Vector1D> v) Add a scaled vector to the instance.Vector1D.add
(Vector<Euclidean1D, Vector1D> v) Add a vector to the instance.double
Vector1D.distance1
(Vector<Euclidean1D, Vector1D> p) Compute the distance between the instance and another vector according to the L1 norm.double
Vector1D.distanceInf
(Vector<Euclidean1D, Vector1D> p) Compute the distance between the instance and another vector according to the L∞ norm.double
Vector1D.distanceSq
(Vector<Euclidean1D, Vector1D> p) Compute the square of the distance between the instance and another vector.double
Vector1D.dotProduct
(Vector<Euclidean1D, Vector1D> v) Compute the dot-product of the instance and another vector.Vector1DFormat.format
(Vector<Euclidean1D, Vector1D> vector, StringBuffer toAppendTo, FieldPosition pos) Formats aVector
object to produce a string.double
OrientedPoint.getOffset
(Vector<Euclidean1D, Vector1D> vector) Get the offset (oriented distance) of a vector.Vector1D.subtract
(double factor, Vector<Euclidean1D, Vector1D> v) Subtract a scaled vector from the instance.Vector1D.subtract
(Vector<Euclidean1D, Vector1D> p) Subtract a vector from the instance.ModifierConstructorDescriptionOrientedPoint
(Vector1D location, boolean direct, double tolerance) Simple constructor.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.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
Modifier and TypeMethodDescriptionLine.toSubSpace
(Point<Euclidean3D> point) Transform a space point into a sub-space point.Line.toSubSpace
(Vector<Euclidean3D, Vector3D> vector) Transform a space point into a sub-space point.Modifier and TypeMethodDescriptionLine.toSpace
(Vector<Euclidean1D, Vector1D> vector) Transform a sub-space point into a space point. -
Uses of Vector1D in org.hipparchus.geometry.euclidean.twod
Modifier and TypeMethodDescriptionLine.toSubSpace
(Point<Euclidean2D> point) Transform a space point into a sub-space point.Line.toSubSpace
(Vector<Euclidean2D, Vector2D> vector) Transform a space point into a sub-space point.Modifier and TypeMethodDescriptionLine.getPointAt
(Vector1D abscissa, double offset) Get one point from the plane.Modifier and TypeMethodDescriptionLine.toSpace
(Vector<Euclidean1D, Vector1D> vector) Transform a sub-space point into a space point.