Uses of Class
org.hipparchus.geometry.euclidean.twod.FieldVector2D
Package
Description
This package provides basic 2D geometry components.
-
Uses of FieldVector2D in org.hipparchus.geometry.euclidean.twod
Modifier and TypeMethodDescriptionFieldVector2D.add
(double factor, FieldVector2D<T> v) Add a scaled vector to the instance.Add a scaled vector to the instance.FieldVector2D.add
(FieldVector2D<T> v) Add a vector to the instance.Add a vector to the instance.FieldVector2D.add
(T factor, FieldVector2D<T> v) Add a scaled vector to the instance.Add a scaled vector to the instance.static <T extends CalculusFieldElement<T>>
FieldVector2D<T>Get opposite of the first canonical vector (coordinates: -1).static <T extends CalculusFieldElement<T>>
FieldVector2D<T>Get opposite of the second canonical vector (coordinates: 0, -1).static <T extends CalculusFieldElement<T>>
FieldVector2D<T>Get a vector with all coordinates set to NaN.static <T extends CalculusFieldElement<T>>
FieldVector2D<T>FieldVector2D.getNegativeInfinity
(Field<T> field) Get a vector with all coordinates set to negative infinity.static <T extends CalculusFieldElement<T>>
FieldVector2D<T>Get first canonical vector (coordinates: 1, 0).static <T extends CalculusFieldElement<T>>
FieldVector2D<T>Get second canonical vector (coordinates: 0, 1).static <T extends CalculusFieldElement<T>>
FieldVector2D<T>FieldVector2D.getPositiveInfinity
(Field<T> field) Get a vector with all coordinates set to positive infinity.static <T extends CalculusFieldElement<T>>
FieldVector2D<T>Get null vector (coordinates: 0, 0).FieldVector2D.negate()
Get the opposite of the instance.FieldVector2D.normalize()
Get a normalized vector aligned with the instance.FieldVector2D.scalarMultiply
(double a) Multiply the instance by a scalar.FieldVector2D.scalarMultiply
(T a) Multiply the instance by a scalar.FieldVector2D.subtract
(double factor, FieldVector2D<T> v) Subtract a scaled vector from the instance.Subtract a scaled vector from the instance.FieldVector2D.subtract
(FieldVector2D<T> v) Subtract a vector from the instance.Subtract a vector from the instance.FieldVector2D.subtract
(T factor, FieldVector2D<T> v) Subtract a scaled vector from the instance.Subtract a scaled vector from the instance.Modifier and TypeMethodDescriptionFieldVector2D.add
(double factor, FieldVector2D<T> v) Add a scaled vector to the instance.FieldVector2D.add
(FieldVector2D<T> v) Add a vector to the instance.FieldVector2D.add
(T factor, FieldVector2D<T> v) Add a scaled vector to the instance.static <T extends CalculusFieldElement<T>>
TFieldVector2D.angle
(FieldVector2D<T> v1, FieldVector2D<T> v2) Compute the angular separation between two vectors.static <T extends CalculusFieldElement<T>>
TFieldVector2D.angle
(FieldVector2D<T> v1, Vector2D v2) Compute the angular separation between two vectors.static <T extends CalculusFieldElement<T>>
TFieldVector2D.angle
(Vector2D v1, FieldVector2D<T> v2) Compute the angular separation between two vectors.FieldVector2D.crossProduct
(FieldVector2D<T> p1, FieldVector2D<T> p2) Compute the cross-product of the instance and the given points.FieldVector2D.distance
(FieldVector2D<T> v) Compute the distance between the instance and another vector according to the L2 norm.static <T extends CalculusFieldElement<T>>
TFieldVector2D.distance
(FieldVector2D<T> p1, FieldVector2D<T> p2) Compute the distance between two vectors according to the L2 norm.static <T extends CalculusFieldElement<T>>
TFieldVector2D.distance
(FieldVector2D<T> p1, Vector2D p2) Compute the distance between two vectors according to the L2 norm.static <T extends CalculusFieldElement<T>>
TFieldVector2D.distance
(Vector2D p1, FieldVector2D<T> p2) Compute the distance between two vectors according to the L2 norm.FieldVector2D.distance1
(FieldVector2D<T> v) Compute the distance between the instance and another vector according to the L1 norm.static <T extends CalculusFieldElement<T>>
TFieldVector2D.distance1
(FieldVector2D<T> p1, FieldVector2D<T> p2) Compute the distance between two vectors according to the L2 norm.static <T extends CalculusFieldElement<T>>
TFieldVector2D.distance1
(FieldVector2D<T> p1, Vector2D p2) Compute the distance between two vectors according to the L2 norm.static <T extends CalculusFieldElement<T>>
TFieldVector2D.distance1
(Vector2D p1, FieldVector2D<T> p2) Compute the distance between two vectors according to the L2 norm.FieldVector2D.distanceInf
(FieldVector2D<T> v) Compute the distance between the instance and another vector according to the L∞ norm.static <T extends CalculusFieldElement<T>>
TFieldVector2D.distanceInf
(FieldVector2D<T> p1, FieldVector2D<T> p2) Compute the distance between two vectors according to the L∞ norm.static <T extends CalculusFieldElement<T>>
TFieldVector2D.distanceInf
(FieldVector2D<T> p1, Vector2D p2) Compute the distance between two vectors according to the L∞ norm.static <T extends CalculusFieldElement<T>>
TFieldVector2D.distanceInf
(Vector2D p1, FieldVector2D<T> p2) Compute the distance between two vectors according to the L∞ norm.FieldVector2D.distanceSq
(FieldVector2D<T> v) Compute the square of the distance between the instance and another vector.static <T extends CalculusFieldElement<T>>
TFieldVector2D.distanceSq
(FieldVector2D<T> p1, FieldVector2D<T> p2) Compute the square of the distance between two vectors.static <T extends CalculusFieldElement<T>>
TFieldVector2D.distanceSq
(FieldVector2D<T> p1, Vector2D p2) Compute the square of the distance between two vectors.static <T extends CalculusFieldElement<T>>
TFieldVector2D.distanceSq
(Vector2D p1, FieldVector2D<T> p2) Compute the square of the distance between two vectors.FieldVector2D.dotProduct
(FieldVector2D<T> v) Compute the dot-product of the instance and another vector.static <T extends CalculusFieldElement<T>>
TFieldVector2D.orientation
(FieldVector2D<T> p, FieldVector2D<T> q, FieldVector2D<T> r) Compute the orientation of a triplet of points.FieldVector2D.subtract
(double factor, FieldVector2D<T> v) Subtract a scaled vector from the instance.FieldVector2D.subtract
(FieldVector2D<T> v) Subtract a vector from the instance.FieldVector2D.subtract
(T factor, FieldVector2D<T> v) Subtract a scaled vector from the instance.ModifierConstructorDescriptionFieldVector2D
(double a, FieldVector2D<T> u) Multiplicative constructor Build a vector from another one and a scale factor.FieldVector2D
(double a1, FieldVector2D<T> u1, double a2, FieldVector2D<T> u2) Linear constructor.FieldVector2D
(double a1, FieldVector2D<T> u1, double a2, FieldVector2D<T> u2, double a3, FieldVector2D<T> u3) Linear constructor.FieldVector2D
(double a1, FieldVector2D<T> u1, double a2, FieldVector2D<T> u2, double a3, FieldVector2D<T> u3, double a4, FieldVector2D<T> u4) Linear constructor.FieldVector2D
(T a, FieldVector2D<T> u) Multiplicative constructor Build a vector from another one and a scale factor.FieldVector2D
(T a1, FieldVector2D<T> u1, T a2, FieldVector2D<T> u2) Linear constructor Build a vector from two other ones and corresponding scale factors.FieldVector2D
(T a1, FieldVector2D<T> u1, T a2, FieldVector2D<T> u2, T a3, FieldVector2D<T> u3) Linear constructor.FieldVector2D
(T a1, FieldVector2D<T> u1, T a2, FieldVector2D<T> u2, T a3, FieldVector2D<T> u3, T a4, FieldVector2D<T> u4) Linear constructor.