Uses of Class
org.apache.commons.math3.geometry.euclidean.oned.Vector1D
Packages that use 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.apache.commons.math3.geometry.euclidean.oned
Fields in org.apache.commons.math3.geometry.euclidean.oned declared as Vector1DModifier and TypeFieldDescriptionstatic final Vector1DVector1D.NaNA vector with all coordinates set to NaN.static final Vector1DVector1D.NEGATIVE_INFINITYA vector with all coordinates set to negative infinity.static final Vector1DVector1D.ONEUnit (coordinates: 1).static final Vector1DVector1D.POSITIVE_INFINITYA vector with all coordinates set to positive infinity.static final Vector1DVector1D.ZEROOrigin (coordinates: 0).Methods in org.apache.commons.math3.geometry.euclidean.oned that return Vector1DModifier and TypeMethodDescriptionVector1D.add(double factor, Vector<Euclidean1D> v) Add a scaled vector to the instance.Vector1D.add(Vector<Euclidean1D> 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.Vector1D.normalize()Get a normalized vector aligned with the instance.Parses a string to produce aVectorobject.Vector1DFormat.parse(String source, ParsePosition pos) Parses a string to produce aVectorobject.Vector1D.scalarMultiply(double a) Multiply the instance by a scalar.Vector1D.subtract(double factor, Vector<Euclidean1D> v) Subtract a scaled vector from the instance.Vector1D.subtract(Vector<Euclidean1D> p) Subtract a vector from the instance.Methods in org.apache.commons.math3.geometry.euclidean.oned with parameters of type Vector1DModifier and TypeMethodDescriptionstatic doubleCompute 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.apache.commons.math3.geometry.euclidean.oned with parameters of type Vector1DModifierConstructorDescriptionOrientedPoint(Vector1D location, boolean direct) Deprecated.OrientedPoint(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.apache.commons.math3.geometry.euclidean.threed
Methods in org.apache.commons.math3.geometry.euclidean.threed that return Vector1DModifier and TypeMethodDescriptionLine.toSubSpace(Point<Euclidean3D> point) Transform a space point into a sub-space point.Line.toSubSpace(Vector<Euclidean3D> vector) Transform a space point into a sub-space point. -
Uses of Vector1D in org.apache.commons.math3.geometry.euclidean.twod
Methods in org.apache.commons.math3.geometry.euclidean.twod that return Vector1DModifier and TypeMethodDescriptionLine.toSubSpace(Point<Euclidean2D> point) Transform a space point into a sub-space point.Line.toSubSpace(Vector<Euclidean2D> vector) Transform a space point into a sub-space point.Methods in org.apache.commons.math3.geometry.euclidean.twod with parameters of type Vector1DModifier and TypeMethodDescriptionLine.getPointAt(Vector1D abscissa, double offset) Get one point from the plane.
OrientedPoint(Vector1D, boolean, double)