Uses of Interface
org.hipparchus.geometry.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.hipparchus.geometry
Modifier and TypeInterfaceDescriptioninterface
This interface represents a generic vector in a vectorial space or a point in an affine space.class
VectorFormat<S extends Space,
V extends Vector<S, V>> Formats a vector in components list format "{x; y; ...}".Modifier and TypeMethodDescriptionParses a string to produce aVector
object.VectorFormat.parse
(String source, ParsePosition pos) Parses a string to produce aVector
object.Modifier and TypeMethodDescriptionAdd a scaled vector to the instance.Add a vector to the instance.default V
Vector.blendArithmeticallyWith
(Vector<S, V> other, double blendingValue) Blend arithmetically this instance with another one.double
Compute the distance between the instance and another vector according to the L1 norm.double
Vector.distanceInf
(Vector<S, V> v) Compute the distance between the instance and another vector according to the L∞ norm.double
Vector.distanceSq
(Vector<S, V> v) Compute the square of the distance between the instance and another vector.double
Vector.dotProduct
(Vector<S, V> v) Compute the dot-product of the instance and another vector.Formats aVector
object to produce a string.abstract StringBuffer
VectorFormat.format
(Vector<S, V> vector, StringBuffer toAppendTo, FieldPosition pos) Formats aVector
object to produce a string.Subtract a scaled vector from the instance.Subtract a vector from the instance. -
Uses of Vector in org.hipparchus.geometry.euclidean.oned
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. -
Uses of Vector in org.hipparchus.geometry.euclidean.threed
Modifier and TypeClassDescriptionclass
This class implements vectors in a three-dimensional space.Modifier and TypeMethodDescriptionVector3D.add
(double factor, Vector<Euclidean3D, Vector3D> v) Add a scaled vector to the instance.Vector3D.add
(Vector<Euclidean3D, Vector3D> v) Add a vector to the instance.Vector3D.crossProduct
(Vector<Euclidean3D, Vector3D> v) Compute the cross-product of the instance with another vector.double
Vector3D.distance1
(Vector<Euclidean3D, Vector3D> v) Compute the distance between the instance and another vector according to the L1 norm.double
Vector3D.distanceInf
(Vector<Euclidean3D, Vector3D> v) Compute the distance between the instance and another vector according to the L∞ norm.double
Vector3D.distanceSq
(Vector<Euclidean3D, Vector3D> v) Compute the square of the distance between the instance and another vector.double
Vector3D.dotProduct
(Vector<Euclidean3D, Vector3D> v) Compute the dot-product of the instance and another vector.Vector3DFormat.format
(Vector<Euclidean3D, Vector3D> vector, StringBuffer toAppendTo, FieldPosition pos) Formats aVector3D
object to produce a string.double
Plane.getOffset
(Vector<Euclidean3D, Vector3D> vector) Get the offset (oriented distance) of a vector.Vector3D.subtract
(double factor, Vector<Euclidean3D, Vector3D> v) Subtract a scaled vector from the instance.Vector3D.subtract
(Vector<Euclidean3D, Vector3D> v) Subtract a vector from the instance.Line.toSpace
(Vector<Euclidean1D, Vector1D> vector) Transform a sub-space point into a space point.Plane.toSpace
(Vector<Euclidean2D, Vector2D> vector) Transform a sub-space point into a space point.Line.toSubSpace
(Vector<Euclidean3D, Vector3D> vector) Transform a space point into a sub-space point.Plane.toSubSpace
(Vector<Euclidean3D, Vector3D> vector) Transform a space point into a sub-space point. -
Uses of Vector in org.hipparchus.geometry.euclidean.twod
Modifier and TypeMethodDescriptionVector2D.add
(double factor, Vector<Euclidean2D, Vector2D> v) Add a scaled vector to the instance.Vector2D.add
(Vector<Euclidean2D, Vector2D> v) Add a vector to the instance.double
Vector2D.distance1
(Vector<Euclidean2D, Vector2D> p) Compute the distance between the instance and another vector according to the L1 norm.double
Vector2D.distanceInf
(Vector<Euclidean2D, Vector2D> p) Compute the distance between the instance and another vector according to the L∞ norm.double
Vector2D.distanceSq
(Vector<Euclidean2D, Vector2D> p) Compute the square of the distance between the instance and another vector.double
Vector2D.dotProduct
(Vector<Euclidean2D, Vector2D> v) Compute the dot-product of the instance and another vector.Vector2DFormat.format
(Vector<Euclidean2D, Vector2D> vector, StringBuffer toAppendTo, FieldPosition pos) Formats aVector
object to produce a string.double
Line.getOffset
(Vector<Euclidean2D, Vector2D> vector) Get the offset (oriented distance) of a vector.Vector2D.subtract
(double factor, Vector<Euclidean2D, Vector2D> v) Subtract a scaled vector from the instance.Vector2D.subtract
(Vector<Euclidean2D, Vector2D> p) Subtract a vector from the instance.Line.toSpace
(Vector<Euclidean1D, Vector1D> vector) Transform a sub-space point into a space point.Line.toSubSpace
(Vector<Euclidean2D, Vector2D> vector) Transform a space point into a sub-space point. -
Uses of Vector in org.hipparchus.geometry.partitioning
Modifier and TypeMethodDescriptionprotected <V extends Vector<S,
V>>
Region.LocationAbstractRegion.checkPoint
(BSPTree<S> node, Vector<S, V> point) Check a point with respect to the region starting at a given node.<V extends Vector<S,
V>>
Region.LocationAbstractRegion.checkPoint
(Vector<S, V> point) Check a point with respect to the region.AbstractRegion.setBarycenter
(Vector<S, V> barycenter) Set the barycenter of the instance.Modifier and TypeMethodDescriptionprotected <V extends Vector<S,
V>>
Region.LocationAbstractRegion.checkPoint
(BSPTree<S> node, Vector<S, V> point) Check a point with respect to the region starting at a given node.<V extends Vector<S,
V>>
Region.LocationAbstractRegion.checkPoint
(Vector<S, V> point) Check a point with respect to the region.AbstractRegion.setBarycenter
(Vector<S, V> barycenter) Set the barycenter of the instance.