Package | Description |
---|---|
org.hipparchus.geometry.euclidean.twod |
This package provides basic 2D geometry components.
|
Modifier and Type | Method and Description |
---|---|
FieldVector2D<T> |
FieldVector2D.add(double factor,
FieldVector2D<T> v)
Add a scaled vector to the instance.
|
FieldVector2D<T> |
FieldVector2D.add(double factor,
Vector2D v)
Add a scaled vector to the instance.
|
FieldVector2D<T> |
FieldVector2D.add(FieldVector2D<T> v)
Add a vector to the instance.
|
FieldVector2D<T> |
FieldVector2D.add(T factor,
FieldVector2D<T> v)
Add a scaled vector to the instance.
|
FieldVector2D<T> |
FieldVector2D.add(T factor,
Vector2D v)
Add a scaled vector to the instance.
|
FieldVector2D<T> |
FieldVector2D.add(Vector2D v)
Add a vector to the instance.
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.getMinusI(Field<T> field)
Get opposite of the first canonical vector (coordinates: -1).
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.getMinusJ(Field<T> field)
Get opposite of the second canonical vector (coordinates: 0, -1).
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.getNaN(Field<T> field)
Get a vector with all coordinates set to NaN.
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.getNegativeInfinity(Field<T> field)
Get a vector with all coordinates set to negative infinity.
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.getPlusI(Field<T> field)
Get first canonical vector (coordinates: 1, 0).
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.getPlusJ(Field<T> field)
Get second canonical vector (coordinates: 0, 1).
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.getPositiveInfinity(Field<T> field)
Get a vector with all coordinates set to positive infinity.
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.getZero(Field<T> field)
Get null vector (coordinates: 0, 0).
|
FieldVector2D<T> |
FieldVector2D.negate()
Get the opposite of the instance.
|
FieldVector2D<T> |
FieldVector2D.normalize()
Get a normalized vector aligned with the instance.
|
FieldVector2D<T> |
FieldVector2D.scalarMultiply(double a)
Multiply the instance by a scalar.
|
FieldVector2D<T> |
FieldVector2D.scalarMultiply(T a)
Multiply the instance by a scalar.
|
FieldVector2D<T> |
FieldVector2D.subtract(double factor,
FieldVector2D<T> v)
Subtract a scaled vector from the instance.
|
FieldVector2D<T> |
FieldVector2D.subtract(double factor,
Vector2D v)
Subtract a scaled vector from the instance.
|
FieldVector2D<T> |
FieldVector2D.subtract(FieldVector2D<T> v)
Subtract a vector from the instance.
|
FieldVector2D<T> |
FieldVector2D.subtract(T factor,
FieldVector2D<T> v)
Subtract a scaled vector from the instance.
|
FieldVector2D<T> |
FieldVector2D.subtract(T factor,
Vector2D v)
Subtract a scaled vector from the instance.
|
FieldVector2D<T> |
FieldVector2D.subtract(Vector2D v)
Subtract a vector from the instance.
|
Modifier and Type | Method and Description |
---|---|
FieldVector2D<T> |
FieldVector2D.add(double factor,
FieldVector2D<T> v)
Add a scaled vector to the instance.
|
FieldVector2D<T> |
FieldVector2D.add(FieldVector2D<T> v)
Add a vector to the instance.
|
FieldVector2D<T> |
FieldVector2D.add(T factor,
FieldVector2D<T> v)
Add a scaled vector to the instance.
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.angle(FieldVector2D<T> v1,
FieldVector2D<T> v2)
Compute the angular separation between two vectors.
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.angle(FieldVector2D<T> v1,
FieldVector2D<T> v2)
Compute the angular separation between two vectors.
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.angle(FieldVector2D<T> v1,
Vector2D v2)
Compute the angular separation between two vectors.
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.angle(Vector2D v1,
FieldVector2D<T> v2)
Compute the angular separation between two vectors.
|
T |
FieldVector2D.crossProduct(FieldVector2D<T> p1,
FieldVector2D<T> p2)
Compute the cross-product of the instance and the given points.
|
T |
FieldVector2D.crossProduct(FieldVector2D<T> p1,
FieldVector2D<T> p2)
Compute the cross-product of the instance and the given points.
|
T |
FieldVector2D.distance(FieldVector2D<T> v)
Compute the distance between the instance and another vector according to the L2 norm.
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.distance(FieldVector2D<T> p1,
FieldVector2D<T> p2)
Compute the distance between two vectors according to the L2 norm.
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.distance(FieldVector2D<T> p1,
FieldVector2D<T> p2)
Compute the distance between two vectors according to the L2 norm.
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.distance(FieldVector2D<T> p1,
Vector2D p2)
Compute the distance between two vectors according to the L2 norm.
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.distance(Vector2D p1,
FieldVector2D<T> p2)
Compute the distance between two vectors according to the L2 norm.
|
T |
FieldVector2D.distance1(FieldVector2D<T> v)
Compute the distance between the instance and another vector according to the L1 norm.
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.distance1(FieldVector2D<T> p1,
FieldVector2D<T> p2)
Compute the distance between two vectors according to the L2 norm.
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.distance1(FieldVector2D<T> p1,
FieldVector2D<T> p2)
Compute the distance between two vectors according to the L2 norm.
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.distance1(FieldVector2D<T> p1,
Vector2D p2)
Compute the distance between two vectors according to the L2 norm.
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.distance1(Vector2D p1,
FieldVector2D<T> p2)
Compute the distance between two vectors according to the L2 norm.
|
T |
FieldVector2D.distanceInf(FieldVector2D<T> v)
Compute the distance between the instance and another vector according to the L∞ norm.
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.distanceInf(FieldVector2D<T> p1,
FieldVector2D<T> p2)
Compute the distance between two vectors according to the L∞ norm.
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.distanceInf(FieldVector2D<T> p1,
FieldVector2D<T> p2)
Compute the distance between two vectors according to the L∞ norm.
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.distanceInf(FieldVector2D<T> p1,
Vector2D p2)
Compute the distance between two vectors according to the L∞ norm.
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.distanceInf(Vector2D p1,
FieldVector2D<T> p2)
Compute the distance between two vectors according to the L∞ norm.
|
T |
FieldVector2D.distanceSq(FieldVector2D<T> v)
Compute the square of the distance between the instance and another vector.
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.distanceSq(FieldVector2D<T> p1,
FieldVector2D<T> p2)
Compute the square of the distance between two vectors.
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.distanceSq(FieldVector2D<T> p1,
FieldVector2D<T> p2)
Compute the square of the distance between two vectors.
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.distanceSq(FieldVector2D<T> p1,
Vector2D p2)
Compute the square of the distance between two vectors.
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.distanceSq(Vector2D p1,
FieldVector2D<T> p2)
Compute the square of the distance between two vectors.
|
T |
FieldVector2D.dotProduct(FieldVector2D<T> v)
Compute the dot-product of the instance and another vector.
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.orientation(FieldVector2D<T> p,
FieldVector2D<T> q,
FieldVector2D<T> r)
Compute the orientation of a triplet of points.
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.orientation(FieldVector2D<T> p,
FieldVector2D<T> q,
FieldVector2D<T> r)
Compute the orientation of a triplet of points.
|
static <T extends CalculusFieldElement<T>> |
FieldVector2D.orientation(FieldVector2D<T> p,
FieldVector2D<T> q,
FieldVector2D<T> r)
Compute the orientation of a triplet of points.
|
FieldVector2D<T> |
FieldVector2D.subtract(double factor,
FieldVector2D<T> v)
Subtract a scaled vector from the instance.
|
FieldVector2D<T> |
FieldVector2D.subtract(FieldVector2D<T> v)
Subtract a vector from the instance.
|
FieldVector2D<T> |
FieldVector2D.subtract(T factor,
FieldVector2D<T> v)
Subtract a scaled vector from the instance.
|
Constructor and Description |
---|
FieldVector2D(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)
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)
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(double a1,
FieldVector2D<T> u1,
double a2,
FieldVector2D<T> u2,
double a3,
FieldVector2D<T> u3,
double a4,
FieldVector2D<T> u4)
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(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)
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)
Linear constructor.
|
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.
|
FieldVector2D(T a1,
FieldVector2D<T> u1,
T a2,
FieldVector2D<T> u2,
T a3,
FieldVector2D<T> u3,
T a4,
FieldVector2D<T> u4)
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.
|
FieldVector2D(T a1,
FieldVector2D<T> u1,
T a2,
FieldVector2D<T> u2,
T a3,
FieldVector2D<T> u3,
T a4,
FieldVector2D<T> u4)
Linear constructor.
|
Copyright © 2016-2021 CS GROUP. All rights reserved.