Uses of Interface
org.arakhne.afc.math.geometry.d2.Tuple2D
-
-
Uses of Tuple2D in org.arakhne.afc.gis.coordinate
Constructors in org.arakhne.afc.gis.coordinate with parameters of type Tuple2D Constructor Description GeodesicPosition(Tuple2D<?> position)
Construct a GSC position. -
Uses of Tuple2D in org.arakhne.afc.io.shape
Constructors in org.arakhne.afc.io.shape with parameters of type Tuple2D Constructor Description ESRIPoint(Tuple2D<?> point)
Constructs and initializes a Point4d from the specified xy coordinates. -
Uses of Tuple2D in org.arakhne.afc.math.geometry.d1
Subinterfaces of Tuple2D in org.arakhne.afc.math.geometry.d1 Modifier and Type Interface Description interface
Point1D<RP extends Point1D<? super RP,? super RV,? super RS>,RV extends Vector1D<? super RV,? super RP,? super RS>,RS extends Segment1D<?,?>>
1.5D Point.interface
UnmodifiablePoint1D<RP extends Point1D<? super RP,? super RV,? super RS>,RV extends Vector1D<? super RV,? super RP,? super RS>,RS extends Segment1D<?,?>>
Unmodifiable Point.interface
UnmodifiableVector1D<RV extends Vector1D<? super RV,? super RP,? super RS>,RP extends Point1D<? super RP,? super RV,? super RS>,RS extends Segment1D<?,?>>
Unmodifiable Vector.interface
Vector1D<RV extends Vector1D<? super RV,? super RP,? super RS>,RP extends Point1D<? super RP,? super RV,? super RS>,RS extends Segment1D<?,?>>
1.5D Vector.Classes in org.arakhne.afc.math.geometry.d1 that implement Tuple2D Modifier and Type Class Description class
ImmutablePoint1D<S extends Segment1D<?,?>>
Immutable point 1.5D.class
ImmutableVector1D<S extends Segment1D<?,?>>
Immutable vector 1.5D.Methods in org.arakhne.afc.math.geometry.d1 with parameters of type Tuple2D Modifier and Type Method Description default boolean
Point1D. operator_equals(Tuple2D<?> v)
Replies if the given vector is equal to this vector:this == v
.default boolean
Vector1D. operator_equals(Tuple2D<?> v)
Replies if this vector and the given vector are equal:this == v
.default boolean
Point1D. operator_notEquals(Tuple2D<?> v)
Replies if the given vector is different than this vector:this != v
.default boolean
Vector1D. operator_notEquals(Tuple2D<?> v)
Replies if this vector and the given vector are different:this != v
.default void
Point1D. set(RS segment, Tuple2D<?> tuple)
Set this point from the given informations.default void
UnmodifiablePoint1D. set(RS segment, Tuple2D<?> tuple)
void
Transform1D. setTranslation(List<? extends S> path, Direction1D direction, Tuple2D<?> position)
Set the position.void
Transform1D. setTranslation(List<? extends S> path, Tuple2D<?> position)
Set the position.void
Transform1D. setTranslation(Tuple2D<?> position)
Set the position.int
Transform1D. transform(Point1D<?,?,? super S> point, Tuple2D<?> appliedTranslation)
Transform the specified 1.5D point.void
Transform1D. translate(List<? extends S> thePath, Direction1D direction, Tuple2D<?> move)
Translate.void
Transform1D. translate(List<? extends S> thePath, Tuple2D<?> move)
Translate.void
Transform1D. translate(Tuple2D<?> move)
Translate the coordinates. -
Uses of Tuple2D in org.arakhne.afc.math.geometry.d1.afp
Classes in org.arakhne.afc.math.geometry.d1.afp that implement Tuple2D Modifier and Type Class Description class
InnerComputationPoint1afp
A point that is used for internal computations.class
InnerComputationVector1afp
A vector that is used for internal computations. -
Uses of Tuple2D in org.arakhne.afc.math.geometry.d1.d
Classes in org.arakhne.afc.math.geometry.d1.d that implement Tuple2D Modifier and Type Class Description class
Point1d
1.5D Point with 2 double precision floating-point numbers.class
Tuple1d<RT extends Tuple1d<? super RT>>
1.5D tuple with 2 double precision floating-point numbers.class
Vector1d
1.5D Vector with 2 double precision floating-point numbers.Methods in org.arakhne.afc.math.geometry.d1.d with parameters of type Tuple2D Modifier and Type Method Description void
Tuple1d. absolute(Tuple2D<?> tuple)
void
Tuple1d. negate(Tuple2D<?> tuple)
void
Tuple1d. scale(double scale, Tuple2D<?> tuple)
void
Tuple1d. scale(int scale, Tuple2D<?> tuple)
void
Tuple1d. set(Tuple2D<?> tuple)
Constructors in org.arakhne.afc.math.geometry.d1.d with parameters of type Tuple2D Constructor Description Point1d(Segment1D<?,?> segment, Tuple2D<?> tuple)
Constructor by copy.Tuple1d(Segment1D<?,?> segment, Tuple2D<?> tuple)
Constructor.Vector1d(Segment1D<?,?> segment, Tuple2D<?> tuple)
Constructor by copy. -
Uses of Tuple2D in org.arakhne.afc.math.geometry.d1.dfx
Classes in org.arakhne.afc.math.geometry.d1.dfx that implement Tuple2D Modifier and Type Class Description class
Point1dfx
1.5D Point with 2 double precision floating-point FX properties.class
Tuple1dfx<RT extends Tuple1dfx<? super RT>>
1.5D tuple with 2 double precision floating-point FX properties.class
Vector1dfx
1.5D Vector with 2 double precision floating-point FX properties.Methods in org.arakhne.afc.math.geometry.d1.dfx with parameters of type Tuple2D Modifier and Type Method Description void
Tuple1dfx. absolute(Tuple2D<?> tuple)
void
Tuple1dfx. negate(Tuple2D<?> tuple)
void
Tuple1dfx. scale(double scale, Tuple2D<?> tuple)
void
Tuple1dfx. scale(int scale, Tuple2D<?> tuple)
void
Tuple1dfx. set(Tuple2D<?> tuple)
Constructors in org.arakhne.afc.math.geometry.d1.dfx with parameters of type Tuple2D Constructor Description Point1dfx(Segment1D<?,?> segment, Tuple2D<?> tuple)
Constructor by copy.Tuple1dfx(Segment1D<?,?> segment, Tuple2D<?> tuple)
Constructor.Vector1dfx(Segment1D<?,?> segment, Tuple2D<?> tuple)
Constructor by copy. -
Uses of Tuple2D in org.arakhne.afc.math.geometry.d2
Classes in org.arakhne.afc.math.geometry.d2 with type parameters of type Tuple2D Modifier and Type Interface Description interface
Tuple2D<RT extends Tuple2D<? super RT>>
2D tuple.interface
UnmodifiableTuple2D<RT extends Tuple2D<? super RT>>
Unmodifiable 2D tuple.Subinterfaces of Tuple2D in org.arakhne.afc.math.geometry.d2 Modifier and Type Interface Description interface
OrientedPoint2D<RP extends Point2D<? super RP,? super RV>,RV extends Vector2D<? super RV,? super RP>>
A 2D point with two orientation vectors relative to the polyline: the direction and the normal to the point.interface
Point2D<RP extends Point2D<? super RP,? super RV>,RV extends Vector2D<? super RV,? super RP>>
2D Point.interface
UnmodifiablePoint2D<RP extends Point2D<? super RP,? super RV>,RV extends Vector2D<? super RV,? super RP>>
Unmodifiable2D Point.interface
UnmodifiableTuple2D<RT extends Tuple2D<? super RT>>
Unmodifiable 2D tuple.interface
UnmodifiableVector2D<RV extends Vector2D<? super RV,? super RP>,RP extends Point2D<? super RP,? super RV>>
Unmodifiable 2D Vector.interface
Vector2D<RV extends Vector2D<? super RV,? super RP>,RP extends Point2D<? super RP,? super RV>>
2D Vector.Classes in org.arakhne.afc.math.geometry.d2 that implement Tuple2D Modifier and Type Class Description class
ImmutablePoint2D
Immutable point 2D.class
ImmutableVector2D
Immutable vector 2D.Methods in org.arakhne.afc.math.geometry.d2 with parameters of type Tuple2D Modifier and Type Method Description default void
Tuple2D. absolute(Tuple2D<?> tuple)
Sets each component of the tuple parameter to its absolute value and places the modified values into this tuple.default void
UnmodifiableTuple2D. absolute(Tuple2D<?> tuple)
default void
Tuple2D. clamp(double min, double max, Tuple2D<?> tuple)
Clamps the tuple parameter to the range [low, high] and places the values into this tuple.default void
Tuple2D. clamp(int min, int max, Tuple2D<?> tuple)
Clamps the tuple parameter to the range [min, max] and places the values into this tuple.default void
UnmodifiableTuple2D. clamp(double min, double max, Tuple2D<?> tuple)
default void
UnmodifiableTuple2D. clamp(int min, int max, Tuple2D<?> tuple)
default void
Tuple2D. clampMax(double max, Tuple2D<?> tuple)
Clamps the maximum value of the tuple parameter to the max parameter and places the values into this tuple.default void
Tuple2D. clampMax(int max, Tuple2D<?> tuple)
Clamps the maximum value of the tuple parameter to the max parameter and places the values into this tuple.default void
UnmodifiableTuple2D. clampMax(double max, Tuple2D<?> tuple)
default void
UnmodifiableTuple2D. clampMax(int max, Tuple2D<?> tuple)
default void
Tuple2D. clampMin(double min, Tuple2D<?> tuple)
Clamps the minimum value of the tuple parameter to the min parameter and places the values into this tuple.default void
Tuple2D. clampMin(int min, Tuple2D<?> tuple)
Clamps the minimum value of the tuple parameter to the min parameter and places the values into this tuple.default void
UnmodifiableTuple2D. clampMin(double min, Tuple2D<?> tuple)
default void
UnmodifiableTuple2D. clampMin(int min, Tuple2D<?> tuple)
int
Tuple2fComparator. compare(Tuple2D<?> tuple1, Tuple2D<?> tuple2)
int
Tuple2iComparator. compare(Tuple2D<?> tuple1, Tuple2D<?> tuple2)
default boolean
Tuple2D. epsilonEquals(Tuple2D<?> tuple, double epsilon)
Returns true if the Euclidian distance between this tuple and tuple t1 is less than or equal to the epsilon parameter, otherwise returns false.default boolean
Tuple2D. equals(Tuple2D<?> tuple)
Returns true if all of the data members of Tuple2D t1 are equal to the corresponding data members in this Tuple2D.default void
Tuple2D. get(Tuple2D<?> tuple)
Copies the values of this tuple into the tuple t.void
Transform2D. getScaleVector(Tuple2D<?> scale)
Performs an SVD normalization of this matrix to calculate and return the scale factors for X and Y axess.void
Transform2D. getTranslationVector(Tuple2D<?> translation)
Replies the translation.default void
Tuple2D. interpolate(Tuple2D<?> tuple, double alpha)
Linearly interpolates between this tuple and tuple t1 and places the result into this tuple: this = (1-alpha)*this + alpha*t1.default void
Tuple2D. interpolate(Tuple2D<?> tuple1, Tuple2D<?> tuple2, double alpha)
Linearly interpolates between tuples t1 and t2 and places the result into this tuple: this = (1-alpha)*t1 + alpha*t2.default void
UnmodifiableTuple2D. interpolate(Tuple2D<?> tuple, double alpha)
default void
UnmodifiableTuple2D. interpolate(Tuple2D<?> tuple1, Tuple2D<?> tuple2, double alpha)
default void
Tuple2D. negate(Tuple2D<?> tuple)
Sets the value of this tuple to the negation of tuple t1.default void
UnmodifiableTuple2D. negate(Tuple2D<?> tuple)
default boolean
Point2D. operator_equals(Tuple2D<?> v)
Replies if the given vector is equal to this vector:this == v
.default boolean
Vector2D. operator_equals(Tuple2D<?> v)
Replies if this vector and the given vector are equal:this == v
.default boolean
Point2D. operator_notEquals(Tuple2D<?> v)
Replies if the given vector is different than this vector:this != v
.default boolean
Vector2D. operator_notEquals(Tuple2D<?> v)
Replies if this vector and the given vector are different:this != v
.void
Transform2D. scale(Tuple2D<?> tuple)
Concatenates this transform with a scaling transformation.default void
Tuple2D. scale(double scale, Tuple2D<?> tuple)
Sets the value of this tuple to the scalar multiplication of tuple t1.default void
Tuple2D. scale(int scale, Tuple2D<?> tuple)
Sets the value of this tuple to the scalar multiplication of tuple t1.default void
UnmodifiableTuple2D. scale(double scale, Tuple2D<?> tuple)
default void
UnmodifiableTuple2D. scale(int scale, Tuple2D<?> tuple)
default void
Tuple2D. set(Tuple2D<?> tuple)
Sets the value of this tuple to the value of tuple t1.default void
UnmodifiableTuple2D. set(Tuple2D<?> tuple)
void
Transform2D. setScale(Tuple2D<?> tuple)
Set the scale.void
Transform2D. setTranslation(Tuple2D<?> translation)
Set the position.void
Transform2D. shear(Tuple2D<?> shear)
Concatenates this transform with a shearing transformation.void
Transform2D. transform(Tuple2D<?> tuple)
Multiply this matrix by the tuple t and place the result back into the tuple (t = this*t).void
Transform2D. transform(Tuple2D<?> tuple, Tuple2D<?> result)
Multiply this matrix by the tuple t and and place the result into the tuple "result". -
Uses of Tuple2D in org.arakhne.afc.math.geometry.d2.afp
Classes in org.arakhne.afc.math.geometry.d2.afp that implement Tuple2D Modifier and Type Class Description class
InnerComputationPoint2afp
A point that is used for internal computations.class
InnerComputationVector2afp
A vector that is used for internal computations.Methods in org.arakhne.afc.math.geometry.d2.afp with parameters of type Tuple2D Modifier and Type Method Description static void
OrientedRectangle2afp. calculatesCenterPointAxisExtents(Iterable<? extends Point2D<?,?>> points, Vector2D<?,?> raxis, Point2D<?,?> center, Tuple2D<?> extents)
Compute the center point and axis extents of an oriented rectangle from a set of points and the oriented rectangle axes.static void
Parallelogram2afp. calculatesCenterPointAxisExtents(Iterable<? extends Point2D<?,?>> points, Vector2D<?,?> raxis, Vector2D<?,?> saxis, Point2D<?,?> center, Tuple2D<?> extents)
Compute the center point and axis extents of a parallelogram from a set of points and the parallelogram axes.static void
Rectangle2afp. findsClosestPointRectangleParallelogram(double rx, double ry, double rmaxx, double rmaxy, double centerX, double centerY, double axis1X, double axis1Y, double axis1Extent, double axis2X, double axis2Y, double axis2Extent, Tuple2D<?> closest)
Compute the point on the rectangle that is the closest to the parallelogram.static void
Rectangle2afp. findsClosestPointRectanglePoint(double rx, double ry, double rmaxx, double rmaxy, double px, double py, Tuple2D<?> closest)
Compute the point on the rectangle that is the closest to the given point.static void
Rectangle2afp. findsClosestPointRectangleRectangle(double rx1, double ry1, double rmaxx1, double rmaxy1, double rx2, double ry2, double rmaxx2, double rmaxy2, Tuple2D<?> closest)
Compute the point on the first rectangle that is the closest to the second rectangle.static void
Rectangle2afp. findsClosestPointRectangleSegment(double rx, double ry, double rmaxx, double rmaxy, double sx1, double sy1, double sx2, double sy2, Tuple2D<?> closest)
Compute the point on the rectangle that is the closest to the segment.static int
Rectangle2afp. reducesCohenSutherlandZoneRectangleSegment(double rx1, double ry1, double rx2, double ry2, double sx1, double sy1, double sx2, double sy2, int codePoint1, int codePoint2, Tuple2D<?> newSegmentP1, Tuple2D<?> newSegmentP2)
Update the given Cohen-Sutherland code that corresponds to the given segment in order to obtain a segment restricted to a single Cohen-Sutherland zone. -
Uses of Tuple2D in org.arakhne.afc.math.geometry.d2.ai
Classes in org.arakhne.afc.math.geometry.d2.ai that implement Tuple2D Modifier and Type Class Description class
InnerComputationPoint2ai
A point that is used for internal computations.class
InnerComputationVector2ai
A vector that is used for internal computations. -
Uses of Tuple2D in org.arakhne.afc.math.geometry.d2.d
Classes in org.arakhne.afc.math.geometry.d2.d that implement Tuple2D Modifier and Type Class Description class
OrientedPoint2d
2D oriented point with double precision floating-point numbers.class
Point2d
2D Point with 2 double precision floating-point numbers.class
Tuple2d<RT extends Tuple2d<? super RT>>
2D tuple with 2 double precision floating-point numbers.class
Vector2d
2D Vector with 2 double precision floating-point numbers.Methods in org.arakhne.afc.math.geometry.d2.d with parameters of type Tuple2D Modifier and Type Method Description void
Tuple2d. absolute(Tuple2D<?> tuple)
static Point2d
Point2d. convert(Tuple2D<?> tuple)
Convert the given tuple to a real Point2d.static Vector2d
Vector2d. convert(Tuple2D<?> tuple)
Convert the given tuple to a real Vector2d.void
Tuple2d. negate(Tuple2D<?> tuple)
void
Tuple2d. scale(double scale, Tuple2D<?> tuple)
void
Tuple2d. scale(int scale, Tuple2D<?> tuple)
void
Tuple2d. set(Tuple2D<?> tuple)
Constructors in org.arakhne.afc.math.geometry.d2.d with parameters of type Tuple2D Constructor Description OrientedPoint2d(Tuple2D<?> tuple)
Constructor by copy.Point2d(Tuple2D<?> tuple)
Constructor by copy.Tuple2d(Tuple2D<?> tuple)
Constructor.Vector2d(Tuple2D<?> tuple)
Constructor by copy. -
Uses of Tuple2D in org.arakhne.afc.math.geometry.d2.dfx
Classes in org.arakhne.afc.math.geometry.d2.dfx that implement Tuple2D Modifier and Type Class Description class
OrientedPoint2dfx
2D oriented point with double precison floating point FX properties.class
Point2dfx
2D Point with 2 double precision floating-point FX properties.class
Tuple2dfx<RT extends Tuple2dfx<? super RT>>
2D tuple with 2 double precision floating-point FX properties.class
Vector2dfx
2D Vector with 2 double precision floating-point FX properties.Methods in org.arakhne.afc.math.geometry.d2.dfx with parameters of type Tuple2D Modifier and Type Method Description static Point2dfx
Point2dfx. convert(Tuple2D<?> tuple)
Convert the given tuple to a real Point2dfx.static Vector2dfx
Vector2dfx. convert(Tuple2D<?> tuple)
Convert the given tuple to a real Vector2dfx.Constructors in org.arakhne.afc.math.geometry.d2.dfx with parameters of type Tuple2D Constructor Description OrientedPoint2dfx(Tuple2D<?> tuple)
Constructor by copy.Point2dfx(Tuple2D<?> tuple)
Constructor by copy.Tuple2dfx(Tuple2D<?> tuple)
Constructor by copy.Vector2dfx(Tuple2D<?> tuple)
Constructor by copy. -
Uses of Tuple2D in org.arakhne.afc.math.geometry.d2.i
Classes in org.arakhne.afc.math.geometry.d2.i that implement Tuple2D Modifier and Type Class Description class
OrientedPoint2i
2D oriented point with int precision floating-point numbers.class
Point2i
2D Point with 2 integer numbers.class
Tuple2i<RT extends Tuple2i<? super RT>>
2D tuple with 2 integer numbers.class
Vector2i
2D Vector with 2 integer numbers.Methods in org.arakhne.afc.math.geometry.d2.i with parameters of type Tuple2D Modifier and Type Method Description void
Tuple2i. absolute(Tuple2D<?> tuple)
static Point2i
Point2i. convert(Tuple2D<?> tuple)
Convert the given tuple to a real Point2i.static Vector2i
Vector2i. convert(Tuple2D<?> tuple)
Convert the given tuple to a real Vector2i.void
Tuple2i. negate(Tuple2D<?> tuple)
void
Tuple2i. scale(double scale, Tuple2D<?> tuple)
void
Tuple2i. scale(int scale, Tuple2D<?> tuple)
void
Tuple2i. set(Tuple2D<?> tuple)
Constructors in org.arakhne.afc.math.geometry.d2.i with parameters of type Tuple2D Constructor Description OrientedPoint2i(Tuple2D<?> point)
Construct an oriented point from a point.Point2i(Tuple2D<?> tuple)
Constructor by copy.Tuple2i(Tuple2D<?> tuple)
Constructor by copy.Vector2i(Tuple2D<?> tuple)
Constructor by copy. -
Uses of Tuple2D in org.arakhne.afc.math.geometry.d2.ifx
Classes in org.arakhne.afc.math.geometry.d2.ifx that implement Tuple2D Modifier and Type Class Description class
OrientedPoint2ifx
2D oriented point with integer FX properties.class
Point2ifx
2D Point with 2 integer FX properties.class
Tuple2ifx<RT extends Tuple2ifx<? super RT>>
2D tuple with 2 integer FX properties.class
Vector2ifx
2D Vector with 2 integer FX properties.Methods in org.arakhne.afc.math.geometry.d2.ifx with parameters of type Tuple2D Modifier and Type Method Description static Point2ifx
Point2ifx. convert(Tuple2D<?> tuple)
Convert the given tuple to a real Point2ifx.static Vector2ifx
Vector2ifx. convert(Tuple2D<?> tuple)
Convert the given tuple to a real Vector2ifx.Constructors in org.arakhne.afc.math.geometry.d2.ifx with parameters of type Tuple2D Constructor Description OrientedPoint2ifx(Tuple2D<?> tuple)
Constructor by copy.Point2ifx(Tuple2D<?> tuple)
Constructor by copy.Tuple2ifx(Tuple2D<?> tuple)
Constructor by copy.Vector2ifx(Tuple2D<?> tuple)
Constructor by copy. -
Uses of Tuple2D in org.arakhne.afc.math.matrix
Methods in org.arakhne.afc.math.matrix with parameters of type Tuple2D Modifier and Type Method Description void
Matrix2d. getColumn(int column, Tuple2D<?> vector)
Copies the matrix values in the specified column into the vector parameter.void
Matrix2d. getRow(int row, Tuple2D<?> vector)
Copies the matrix values in the specified row into the vector parameter.void
Matrix2d. mul(Tuple2D<?> vector, Tuple2D<?> result)
Multiply this matrix by the given vector v and set the resulting vector.void
Matrix2d. setColumn(int column, Tuple2D<?> vector)
Sets the specified column of this Matrix2f to the vector provided.void
Matrix2d. setRow(int row, Tuple2D<?> vector)
Sets the specified row of this Matrix2f to the Vector provided.Method parameters in org.arakhne.afc.math.matrix with type arguments of type Tuple2D Modifier and Type Method Description boolean
Matrix2d. cov(Vector2D<?,?> result, Iterable<? extends Tuple2D<?>> tuples)
Set this matrix with the covariance matrix's elements for the given set of tuples.
-