Uses of Interface
org.apache.commons.math3.geometry.Vector
Packages that use Vector
Package
Description
This package is the top level package for geometry.
This package provides basic 1D geometry components.
This package provides basic 3D geometry components.
This package provides basic 2D geometry components.
This package provides classes to implement Binary Space Partition trees.
-
Uses of Vector in org.apache.commons.math3.geometry
Methods in org.apache.commons.math3.geometry that return VectorModifier and TypeMethodDescriptionAdd a scaled vector to the instance.Add a vector to the instance.Vector.getZero()Get the null vector of the vectorial space or origin point of the affine space.Vector.negate()Get the opposite of the instance.Vector.normalize()Get a normalized vector aligned with the instance.Parses a string to produce aVectorobject.VectorFormat.parse(String source, ParsePosition pos) Parses a string to produce aVectorobject.Vector.scalarMultiply(double a) Multiply the instance by a scalar.Subtract a scaled vector from the instance.Subtract a vector from the instance.Methods in org.apache.commons.math3.geometry with parameters of type VectorModifier and TypeMethodDescriptionAdd a scaled vector to the instance.Add a vector to the instance.doubleCompute the distance between the instance and another vector according to the L2 norm.doubleCompute the distance between the instance and another vector according to the L1 norm.doubleVector.distanceInf(Vector<S> v) Compute the distance between the instance and another vector according to the L∞ norm.doubleVector.distanceSq(Vector<S> v) Compute the square of the distance between the instance and another vector.doubleVector.dotProduct(Vector<S> v) Compute the dot-product of the instance and another vector.Formats aVectorobject to produce a string.abstract StringBufferVectorFormat.format(Vector<S> vector, StringBuffer toAppendTo, FieldPosition pos) Formats aVectorobject to produce a string.Subtract a scaled vector from the instance.Subtract a vector from the instance. -
Uses of Vector in org.apache.commons.math3.geometry.euclidean.oned
Classes in org.apache.commons.math3.geometry.euclidean.oned that implement VectorMethods in org.apache.commons.math3.geometry.euclidean.oned with parameters of type VectorModifier 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.doubleVector1D.distance(Vector<Euclidean1D> p) Deprecated.doubleVector1D.distance1(Vector<Euclidean1D> p) Compute the distance between the instance and another vector according to the L1 norm.doubleVector1D.distanceInf(Vector<Euclidean1D> p) Compute the distance between the instance and another vector according to the L∞ norm.doubleVector1D.distanceSq(Vector<Euclidean1D> p) Compute the square of the distance between the instance and another vector.doubleVector1D.dotProduct(Vector<Euclidean1D> v) Compute the dot-product of the instance and another vector.Vector1DFormat.format(Vector<Euclidean1D> vector, StringBuffer toAppendTo, FieldPosition pos) Formats aVectorobject to produce a string.doubleOrientedPoint.getOffset(Vector<Euclidean1D> vector) Get the offset (oriented distance) of a vector.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. -
Uses of Vector in org.apache.commons.math3.geometry.euclidean.threed
Classes in org.apache.commons.math3.geometry.euclidean.threed that implement VectorModifier and TypeClassDescriptionclassThis class implements vectors in a three-dimensional space.Methods in org.apache.commons.math3.geometry.euclidean.threed with parameters of type VectorModifier and TypeMethodDescriptionVector3D.add(double factor, Vector<Euclidean3D> v) Add a scaled vector to the instance.Vector3D.add(Vector<Euclidean3D> v) Add a vector to the instance.Vector3D.crossProduct(Vector<Euclidean3D> v) Compute the cross-product of the instance with another vector.doubleVector3D.distance(Vector<Euclidean3D> v) Compute the distance between the instance and another vector according to the L2 norm.doubleVector3D.distance1(Vector<Euclidean3D> v) Compute the distance between the instance and another vector according to the L1 norm.doubleVector3D.distanceInf(Vector<Euclidean3D> v) Compute the distance between the instance and another vector according to the L∞ norm.doubleVector3D.distanceSq(Vector<Euclidean3D> v) Compute the square of the distance between the instance and another vector.doubleVector3D.dotProduct(Vector<Euclidean3D> v) Compute the dot-product of the instance and another vector.Vector3DFormat.format(Vector<Euclidean3D> vector, StringBuffer toAppendTo, FieldPosition pos) Formats aVector3Dobject to produce a string.doublePlane.getOffset(Vector<Euclidean3D> vector) Get the offset (oriented distance) of a vector.Vector3D.subtract(double factor, Vector<Euclidean3D> v) Subtract a scaled vector from the instance.Vector3D.subtract(Vector<Euclidean3D> v) Subtract a vector from the instance.Line.toSpace(Vector<Euclidean1D> vector) Transform a sub-space point into a space point.Plane.toSpace(Vector<Euclidean2D> vector) Transform a sub-space point into a space point.Line.toSubSpace(Vector<Euclidean3D> vector) Transform a space point into a sub-space point.Plane.toSubSpace(Vector<Euclidean3D> vector) Transform a space point into a sub-space point. -
Uses of Vector in org.apache.commons.math3.geometry.euclidean.twod
Classes in org.apache.commons.math3.geometry.euclidean.twod that implement VectorMethods in org.apache.commons.math3.geometry.euclidean.twod with parameters of type VectorModifier and TypeMethodDescriptionVector2D.add(double factor, Vector<Euclidean2D> v) Add a scaled vector to the instance.Vector2D.add(Vector<Euclidean2D> v) Add a vector to the instance.doubleVector2D.distance(Vector<Euclidean2D> p) Compute the distance between the instance and another vector according to the L2 norm.doubleVector2D.distance1(Vector<Euclidean2D> p) Compute the distance between the instance and another vector according to the L1 norm.doubleVector2D.distanceInf(Vector<Euclidean2D> p) Compute the distance between the instance and another vector according to the L∞ norm.doubleVector2D.distanceSq(Vector<Euclidean2D> p) Compute the square of the distance between the instance and another vector.doubleVector2D.dotProduct(Vector<Euclidean2D> v) Compute the dot-product of the instance and another vector.Vector2DFormat.format(Vector<Euclidean2D> vector, StringBuffer toAppendTo, FieldPosition pos) Formats aVectorobject to produce a string.doubleLine.getOffset(Vector<Euclidean2D> vector) Get the offset (oriented distance) of a vector.Vector2D.subtract(double factor, Vector<Euclidean2D> v) Subtract a scaled vector from the instance.Vector2D.subtract(Vector<Euclidean2D> p) Subtract a vector from the instance.Line.toSpace(Vector<Euclidean1D> vector) Transform a sub-space point into a space point.Line.toSubSpace(Vector<Euclidean2D> vector) Transform a space point into a sub-space point. -
Uses of Vector in org.apache.commons.math3.geometry.partitioning
Methods in org.apache.commons.math3.geometry.partitioning with parameters of type VectorModifier and TypeMethodDescriptionprotected Region.LocationAbstractRegion.checkPoint(BSPTree<S> node, Vector<S> point) Check a point with respect to the region starting at a given node.AbstractRegion.checkPoint(Vector<S> point) Check a point with respect to the region.Deprecated.as of 3.3, replaced withBSPTree.getCell(Point, double)protected voidAbstractRegion.setBarycenter(Vector<S> barycenter) Set the barycenter of the instance.
Vector1D.distance(Point)