Uses of Interface
org.arakhne.afc.math.geometry.d2.Vector2D
-
-
Uses of Vector2D in org.arakhne.afc.agentmotion
Methods in org.arakhne.afc.agentmotion that return Vector2D Modifier and Type Method Description Vector2D<?,?>
ArrivingMotionAlgorithm. calculate(Point2D<?,?> position, double linearSpeed, double maxLinear, Point2D<?,?> target)
Calculate the linear motion for arriving the target point.Vector2D<?,?>
EvadingMotionAlgorithm. calculate(Point2D<?,?> position, double linearSpeed, double maxLinear, Point2D<?,?> targetPosition, Vector2D<?,?> targetLinearMotion)
Calculate the linear motion for evading the given target point.Vector2D<?,?>
FleeingMotionAlgorithm. calculate(Point2D<?,?> position, double linearSpeed, double maxLinear, Point2D<?,?> target)
Calculate the linear motion for fleeing the target position.Vector2D<?,?>
PursuingMotionAlgorithm. calculate(Point2D<?,?> position, double linearSpeed, double maxLinear, Point2D<?,?> targetPosition, Vector2D<?,?> targetLinearMotion)
Calculate the linear motion for pursuing the target point.Vector2D<?,?>
SeekingMotionAlgorithm. calculate(Point2D<?,?> position, double linearSpeed, double maxLinear, Point2D<?,?> target)
Calculate the linear motion for seeking the target point.Vector2D<?,?>
AgentMotion. getLinear()
Replies the motion on the plane.Methods in org.arakhne.afc.agentmotion with parameters of type Vector2D Modifier and Type Method Description AgentMotion
AgentMotion. $minus(Vector2D<?,?> motion)
Replies the subtraction of the given linear motion and this motion:this - motion
.AgentMotion
AgentMotion. $plus(Vector2D<?,?> motion)
Replies the addition of the given linear motion and this motion:this + motion
.double
AligningMotionAlgorithm. calculate(Vector2D<?,?> orientation, double angularSpeed, double maxAngular, Vector2D<?,?> target)
Calculate the rotation for being aligned to the target vector.Vector2D<?,?>
EvadingMotionAlgorithm. calculate(Point2D<?,?> position, double linearSpeed, double maxLinear, Point2D<?,?> targetPosition, Vector2D<?,?> targetLinearMotion)
Calculate the linear motion for evading the given target point.double
FacingMotionAlgorithm. calculate(Point2D<?,?> position, Vector2D<?,?> orientation, double angularSpeed, double maxAngular, Point2D<?,?> target)
Calculate the rotation for facing the target point.Vector2D<?,?>
PursuingMotionAlgorithm. calculate(Point2D<?,?> position, double linearSpeed, double maxLinear, Point2D<?,?> targetPosition, Vector2D<?,?> targetLinearMotion)
Calculate the linear motion for pursuing the target point.AgentMotion
RandomMotionAlgorithm. calculate(Point2D<?,?> position, Vector2D<?,?> orientation, double linearSpeed, double maxLinear, double angularSpeed, double maxAngular)
Calculate the random motion.void
AgentMotion. operator_add(Vector2D<?,?> motion)
Add the given linear motion to this motion:this += motion
.AgentMotion
AgentMotion. operator_minus(Vector2D<?,?> motion)
Replies the subtraction of the given linear motion and this motion:this - motion
.AgentMotion
AgentMotion. operator_plus(Vector2D<?,?> motion)
Replies the addition of the given linear motion and this motion:this + motion
.void
AgentMotion. operator_remove(Vector2D<?,?> motion)
Subtract the given linear motion to this motion:this -= motion
.Point2D<?,?>
EvadingMotionAlgorithm. predictTargetPosition(Point2D<?,?> targetPosition, Vector2D<?,?> targetLinearMotion)
Predict the next position of the target.Point2D<?,?>
PursuingMotionAlgorithm. predictTargetPosition(Point2D<?,?> targetPosition, Vector2D<?,?> targetLinearMotion)
Predict the next position of the target.void
AgentMotion. setLinear(Vector2D<?,?> linear)
Set the linear motion.Constructors in org.arakhne.afc.agentmotion with parameters of type Vector2D Constructor Description AgentMotion(Vector2D<?,?> linearMotion)
Construct a motion.AgentMotion(Vector2D<?,?> linearMotion, double angularMotion)
Construct a motion. -
Uses of Vector2D in org.arakhne.afc.agentmotion.common
Methods in org.arakhne.afc.agentmotion.common that return Vector2D Modifier and Type Method Description Vector2D<?,?>
EvadingAlgorithm. calculate(Point2D<?,?> position, double linearSpeed, double maxLinear, Point2D<?,?> targetPosition, Vector2D<?,?> targetLinearMotion)
Vector2D<?,?>
FleeingAlgorithm. calculate(Point2D<?,?> position, double linearSpeed, double maxLinear, Point2D<?,?> target)
Vector2D<?,?>
PursuingAlgorithm. calculate(Point2D<?,?> position, double linearSpeed, double maxLinear, Point2D<?,?> targetPosition, Vector2D<?,?> targetLinearMotion)
Vector2D<?,?>
SeekingAlgorithm. calculate(Point2D<?,?> position, double linearSpeed, double maxLinear, Point2D<?,?> target)
Methods in org.arakhne.afc.agentmotion.common with parameters of type Vector2D Modifier and Type Method Description Vector2D<?,?>
EvadingAlgorithm. calculate(Point2D<?,?> position, double linearSpeed, double maxLinear, Point2D<?,?> targetPosition, Vector2D<?,?> targetLinearMotion)
double
FacingAlgorithm. calculate(Point2D<?,?> position, Vector2D<?,?> orientation, double angularSpeed, double maxAngular, Point2D<?,?> target)
Vector2D<?,?>
PursuingAlgorithm. calculate(Point2D<?,?> position, double linearSpeed, double maxLinear, Point2D<?,?> targetPosition, Vector2D<?,?> targetLinearMotion)
AgentMotion
RandomAlgorithm. calculate(Point2D<?,?> position, Vector2D<?,?> orientation, double linearSpeed, double maxLinear, double angularSpeed, double maxAngular)
Point2D<?,?>
AbstractTargetPositionPredictionAlgorithm. predictTargetPosition(Point2D<?,?> targetPosition, Vector2D<?,?> targetLinearMotion)
Predict the next position of the target. -
Uses of Vector2D in org.arakhne.afc.agentmotion.kinematic
Methods in org.arakhne.afc.agentmotion.kinematic that return Vector2D Modifier and Type Method Description Vector2D<?,?>
ArrivingKinematicAlgorithm. calculate(Point2D<?,?> position, double linearSpeed, double maxLinearSpeed, Point2D<?,?> target)
Methods in org.arakhne.afc.agentmotion.kinematic with parameters of type Vector2D Modifier and Type Method Description double
AligningKinematicAlgorithm. calculate(Vector2D<?,?> orientation, double angularSpeed, double maxAngularSpeed, Vector2D<?,?> target)
AgentMotion
RandomKinematicAlgorithm. calculate(Point2D<?,?> position, Vector2D<?,?> orientation, double linearSpeed, double maxLinearSpeed, double angularSpeed, double maxAngularSpeed)
-
Uses of Vector2D in org.arakhne.afc.agentmotion.steering
Methods in org.arakhne.afc.agentmotion.steering that return Vector2D Modifier and Type Method Description Vector2D<?,?>
ArrivingSteeringAlgorithm. calculate(Point2D<?,?> position, double linearSpeed, double maxLinear, Point2D<?,?> target)
Methods in org.arakhne.afc.agentmotion.steering with parameters of type Vector2D Modifier and Type Method Description double
AligningSteeringAlgorithm. calculate(Vector2D<?,?> orientation, double angularSpeed, double maxAngularAcceleration, Vector2D<?,?> target)
-
Uses of Vector2D in org.arakhne.afc.gis.mapelement
Methods in org.arakhne.afc.gis.mapelement with parameters of type Vector2D Modifier and Type Method Description protected void
MapPolyline. computeGeoLocationForDistance(double desired_distance, double shifting, Point2D<?,?> geoLocation, Vector2D<?,?> tangent)
Replies the geo-location of the point described by the specified distance. -
Uses of Vector2D in org.arakhne.afc.gis.road
Methods in org.arakhne.afc.gis.road with parameters of type Vector2D Modifier and Type Method Description void
RoadPolyline. getGeoLocationForDistance(double desired_distance, double shifting, Point2D<?,?> geoLocation, Vector2D<?,?> tangent)
Point2d
RoadPolyline. getGeoLocationForDistance(double desired_distance, double shifting, Vector2D<?,?> tangent)
void
SubRoadNetwork.WrapSegment. getGeoLocationForDistance(double desired_distance, double shifting, Point2D<?,?> geoLocation, Vector2D<?,?> tangent)
Point2d
SubRoadNetwork.WrapSegment. getGeoLocationForDistance(double desired_distance, double shifting, Vector2D<?,?> tangent)
void
RoadPolyline. getGeoLocationForLocationRatio(double ratio, double shifting, Point2D<?,?> output, Vector2D<?,?> tangent)
Point2d
RoadPolyline. getGeoLocationForLocationRatio(double ratio, double shifting, Vector2D<?,?> tangent)
void
SubRoadNetwork.WrapSegment. getGeoLocationForLocationRatio(double ratio, double shifting, Point2D<?,?> geoLocation, Vector2D<?,?> tangent)
Point2d
SubRoadNetwork.WrapSegment. getGeoLocationForLocationRatio(double ratio, double shifting, Vector2D<?,?> tangent)
void
RoadPolyline. projectsOnPlane(double positionOnSegment, double shiftDistance, Point2D<?,?> position, Vector2D<?,?> tangent)
void
RoadPolyline. projectsOnPlane(double positionOnSegment, Point2D<?,?> position, Vector2D<?,?> tangent)
void
SubRoadNetwork.WrapSegment. projectsOnPlane(double positionOnSegment, double shiftDistance, Point2D<?,?> position, Vector2D<?,?> tangent)
void
SubRoadNetwork.WrapSegment. projectsOnPlane(double positionOnSegment, Point2D<?,?> position, Vector2D<?,?> tangent)
-
Uses of Vector2D in org.arakhne.afc.gis.road.path.astar
Methods in org.arakhne.afc.gis.road.path.astar with parameters of type Vector2D Modifier and Type Method Description void
RoadAStar.VirtualSegment. getGeoLocationForDistance(double desiredDistance, double shifting, Point2D<?,?> geoLocation, Vector2D<?,?> tangent)
Point2d
RoadAStar.VirtualSegment. getGeoLocationForDistance(double desiredDistance, double shifting, Vector2D<?,?> tangent)
void
RoadAStar.VirtualSegment. getGeoLocationForLocationRatio(double ratio, double shifting, Point2D<?,?> geoLocation, Vector2D<?,?> tangent)
Point2d
RoadAStar.VirtualSegment. getGeoLocationForLocationRatio(double ratio, double shifting, Vector2D<?,?> tangent)
void
RoadAStar.VirtualSegment. projectsOnPlane(double positionOnSegment, double shiftDistance, Point2D<?,?> position, Vector2D<?,?> tangent)
void
RoadAStar.VirtualSegment. projectsOnPlane(double positionOnSegment, Point2D<?,?> position, Vector2D<?,?> tangent)
-
Uses of Vector2D in org.arakhne.afc.gis.road.primitive
Methods in org.arakhne.afc.gis.road.primitive with parameters of type Vector2D Modifier and Type Method Description void
RoadSegment. getGeoLocationForDistance(double desired_distance, double shifting, Point2D<?,?> geoLocation, Vector2D<?,?> tangent)
Replies the geo-location of the point described by the specified distance.Point2d
RoadSegment. getGeoLocationForDistance(double desired_distance, double shifting, Vector2D<?,?> tangent)
Replies the geo-location of the point described by the specified distance.void
RoadSegment. getGeoLocationForLocationRatio(double ratio, double shifting, Point2D<?,?> geoLocation, Vector2D<?,?> tangent)
Replies the geo-location of the point described by the location ratio.Point2d
RoadSegment. getGeoLocationForLocationRatio(double ratio, double shifting, Vector2D<?,?> tangent)
Replies the geo-location of the point described by the location ratio. -
Uses of Vector2D in org.arakhne.afc.math.extensions.scala
Methods in org.arakhne.afc.math.extensions.scala with type parameters of type Vector2D Modifier and Type Method Description static <V extends Vector2D<V,?>>
VTuple2DExtensions. $div(double left, V right)
Scale this vector:left / right
.static <V extends Vector2D<V,?>>
VTuple2DExtensions. $minus(double left, V right)
Subtract a vector to this scalar:left - right
.static <V extends Vector2D<V,?>>
VTuple2DExtensions. $plus(double left, V right)
Sum of this vector and the given scalar:left + right
.static <V extends Vector2D<V,?>>
VTuple2DExtensions. $times(double left, V right)
Scale this vector:left * right
. -
Uses of Vector2D in org.arakhne.afc.math.extensions.xtext
Methods in org.arakhne.afc.math.extensions.xtext with type parameters of type Vector2D Modifier and Type Method Description static <V extends Vector2D<V,?>>
VTuple2DExtensions. operator_divide(double left, V right)
Scale this vector:left / right
.static <V extends Vector2D<V,?>>
VTuple2DExtensions. operator_minus(double left, V right)
Subtract a vector to this scalar:left - right
.static <V extends Vector2D<V,?>>
VTuple2DExtensions. operator_multiply(double left, V right)
Scale this vector:left * right
.static <V extends Vector2D<V,?>>
VTuple2DExtensions. operator_plus(double left, V right)
Sum of this vector and the given scalar:left + right
. -
Uses of Vector2D in org.arakhne.afc.math.geometry.coordinatesystem
Methods in org.arakhne.afc.math.geometry.coordinatesystem with type parameters of type Vector2D Modifier and Type Method Description static <T extends Vector2D<?,?>>
TCoordinateSystem2D. getBackVector(T vectorToFill)
Replies the back vector.<T extends Vector2D<?,?>>
TCoordinateSystem2D. getLeftVector(T vectorToFill)
Replies the left vector.<T extends Vector2D<?,?>>
TCoordinateSystem2D. getRightVector(T vectorToFill)
Replies the right vector.static <T extends Vector2D<?,?>>
TCoordinateSystem2D. getViewVector(T vectorToFill)
Replies the front vector.Methods in org.arakhne.afc.math.geometry.coordinatesystem that return Vector2D Modifier and Type Method Description static Vector2D<?,?>
CoordinateSystem2D. getBackVector()
Replies the back vector.Vector2D<?,?>
CoordinateSystem2D. getLeftVector()
Replies the left vector.Vector2D<?,?>
CoordinateSystem2D. getRightVector()
Replies the right vector.static Vector2D<?,?>
CoordinateSystem2D. getViewVector()
Replies the front vector.Methods in org.arakhne.afc.math.geometry.coordinatesystem with parameters of type Vector2D Modifier and Type Method Description void
CoordinateSystem2D. fromDefault(Vector2D<?,?> vector)
Convert the specified vector from the default coordinate system.void
CoordinateSystem2D. toDefault(Vector2D<?,?> vector)
Convert the specified vector from the default coordinate system.void
CoordinateSystem2D. toSystem(Vector2D<?,?> point, CoordinateSystem2D targetCoordinateSystem)
Convert the specified point from the current coordinate system to the specified coordinate system. -
Uses of Vector2D in org.arakhne.afc.math.geometry.d1
Classes in org.arakhne.afc.math.geometry.d1 with type parameters of type Vector2D Modifier and Type Interface Description interface
Segment1D<RP extends Point2D<?,?>,RV extends Vector2D<?,?>>
This class represents a segment is a 1.5D coordinate space.Methods in org.arakhne.afc.math.geometry.d1 with parameters of type Vector2D Modifier and Type Method Description default RP
Point1D. $minus(Vector2D<?,?> v)
Subtract the v vector to this point:this - v
.default RP
Point1D. $plus(Vector2D<?,?> v)
Sum of this point and a vector:this + v
.default void
Point1D. operator_add(Vector2D<?,?> v)
Increment this point with the given vector:this += v
.default RP
Point1D. operator_minus(Vector2D<?,?> v)
Subtract the v vector to this point:this - v
.default RP
Point1D. operator_plus(Vector2D<?,?> v)
Sum of this point and a vector:this + v
.default void
Point1D. operator_remove(Vector2D<?,?> v)
Subtract the v vector to this:this -= v
.void
Segment1D. projectsOnPlane(double positionOnSegment, double shiftDistance, Point2D<?,?> position, Vector2D<?,?> tangent)
Replies the 2D position and the 2D tangent at the position on the segment.void
Segment1D. projectsOnPlane(double positionOnSegment, Point2D<?,?> position, Vector2D<?,?> tangent)
Replies the 2D position and the 2D tangent at the position on the segment. -
Uses of Vector2D in org.arakhne.afc.math.geometry.d1.d
Methods in org.arakhne.afc.math.geometry.d1.d with parameters of type Vector2D Modifier and Type Method Description void
DefaultSegment1d. projectsOnPlane(double positionOnSegment, double shiftDistance, Point2D<?,?> position, Vector2D<?,?> tangent)
void
DefaultSegment1d. projectsOnPlane(double positionOnSegment, Point2D<?,?> position, Vector2D<?,?> tangent)
-
Uses of Vector2D in org.arakhne.afc.math.geometry.d2
Classes in org.arakhne.afc.math.geometry.d2 with type parameters of type Vector2D Modifier and Type Class Description class
AbstractGeomFactory2D<V extends Vector2D<? super V,? super P>,P extends Point2D<? super P,? super V>>
Abstract implementation of a factory of geometric primitives.interface
GeomFactory2D<V extends Vector2D<? super V,? super P>,P extends Point2D<? super P,? super V>>
Factory of geometrical primitives.interface
MultiShape2D<ST extends Shape2D<?,?,I,P,V,B>,IT extends MultiShape2D<?,?,CT,I,P,V,B>,CT extends Shape2D<?,?,I,P,V,B>,I extends PathIterator2D<?>,P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>,B extends Shape2D<?,?,I,P,V,B>>
Container for grouping of shapes.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
Path2D<ST extends Shape2D<?,?,I,P,V,B>,IT extends Path2D<?,?,I,P,V,B>,I extends PathIterator2D<?>,P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>,B extends Shape2D<?,?,I,P,V,B>>
2D Path.interface
Point2D<RP extends Point2D<? super RP,? super RV>,RV extends Vector2D<? super RV,? super RP>>
2D Point.interface
Shape2D<ST extends Shape2D<?,?,I,P,V,B>,IT extends Shape2D<?,?,I,P,V,B>,I extends PathIterator2D<?>,P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>,B extends Shape2D<?,?,I,P,V,B>>
2D shape.interface
UnmodifiablePoint2D<RP extends Point2D<? super RP,? super RV>,RV extends Vector2D<? super RV,? super RP>>
Unmodifiable2D Point.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.static class
Vector2D.PowerResult<T extends Vector2D<? super T,?>>
Result of the power of a Vector2D.Subinterfaces of Vector2D in org.arakhne.afc.math.geometry.d2 Modifier and Type Interface Description interface
UnmodifiableVector2D<RV extends Vector2D<? super RV,? super RP>,RP extends Point2D<? super RP,? super RV>>
Unmodifiable 2D Vector.Classes in org.arakhne.afc.math.geometry.d2 that implement Vector2D Modifier and Type Class Description class
ImmutableVector2D
Immutable vector 2D.Methods in org.arakhne.afc.math.geometry.d2 that return Vector2D Modifier and Type Method Description default Vector2D<? extends RV,? extends RP>
Vector2D. operator_elvis(Vector2D<? extends RV,? extends RP> v)
If this vector is epsilon equal to zero then reply v else reply this:this ?: v
.Methods in org.arakhne.afc.math.geometry.d2 with parameters of type Vector2D Modifier and Type Method Description default RP
Point2D. $minus(Vector2D<?,?> v)
Subtract the v vector to this point:this - v
.default RV
Vector2D. $minus(Vector2D<?,?> v)
Subtract a vector to this vector:this - v
.default RP
Point2D. $plus(Vector2D<?,?> v)
Sum of this point and a vector:this + v
.default RV
Vector2D. $plus(Vector2D<?,?> v)
Sum of this vector and the given vector:this + v
.default double
Vector2D. $times(Vector2D<?,?> v)
Dot product:this * v
.default double
Vector2D. $up(Vector2D<?,?> v)
Perp product of this vector and the given vector:this ^ v
.default void
Point2D. add(Point2D<?,?> point, Vector2D<?,?> vector)
Sets the value of this tuple to the sum of tuples t1 and t2.default void
Point2D. add(Vector2D<?,?> vector)
Sets the value of this tuple to the sum of itself and t1.default void
Point2D. add(Vector2D<?,?> vector, Point2D<?,?> point)
Sets the value of this tuple to the sum of tuples t1 and t2.default void
UnmodifiablePoint2D. add(Point2D<?,?> point, Vector2D<?,?> vector)
default void
UnmodifiablePoint2D. add(Vector2D<?,?> vector)
default void
UnmodifiablePoint2D. add(Vector2D<?,?> vector, Point2D<?,?> point)
default void
UnmodifiableVector2D. add(Vector2D<?,?> vector)
default void
UnmodifiableVector2D. add(Vector2D<?,?> vector1, Vector2D<?,?> vector2)
default void
Vector2D. add(Vector2D<?,?> vector)
Sets the value of this tuple to the sum of itself and the given vector.default void
Vector2D. add(Vector2D<?,?> vector1, Vector2D<?,?> vector2)
Sets the value of this tuple to the sum of tuples vector1 and vector2.default double
Vector2D. angle(Vector2D<?,?> vector)
Returns the angle in radians between this vector and the vector parameter; the return value is constrained to the range [0, PI].void
Path2D. arcTo(Point2D<?,?> to, Vector2D<?,?> radii, double xAxisRotation, boolean largeArcFlag, boolean sweepFlag)
Adds a section of an shallow ellipse to the current path.P
GeomFactory2D. convertToPoint(Vector2D<?,?> vector)
Convert the given vector.ImmutablePoint2D
ImmutableGeomFactory. convertToPoint(Vector2D<?,?> v)
V
GeomFactory2D. convertToVector(Vector2D<?,?> vector)
Convert the given vector.ImmutableVector2D
ImmutableGeomFactory. convertToVector(Vector2D<?,?> v)
default double
Vector2D. dot(Vector2D<?,?> vector)
Computes the dot product of the this vector and the given vector.default boolean
Vector2D. isOrthogonal(Vector2D<?,?> vector)
Replies if this vector is orthogonal to the given vector.default void
UnmodifiableVector2D. normalize(Vector2D<?,?> vector)
default void
Vector2D. normalize(Vector2D<?,?> vector)
Sets the value of this vector to the normalization of vector vector.default void
Point2D. operator_add(Vector2D<?,?> v)
Increment this point with the given vector:this += v
.default void
Shape2D. operator_add(Vector2D<?,?> v)
Translate this shape by adding the given vector:this += v
default void
UnmodifiablePoint2D. operator_add(Vector2D<?,?> v)
default void
UnmodifiableVector2D. operator_add(Vector2D<?,?> v)
default void
Vector2D. operator_add(Vector2D<?,?> v)
Add a vector to this vector:this += v
.default double
Vector2D. operator_doubleDotLessThan(Vector2D<?,?> v)
Replies the signed angle from v to this:this ..< v
.default Vector2D<? extends RV,? extends RP>
Vector2D. operator_elvis(Vector2D<? extends RV,? extends RP> v)
If this vector is epsilon equal to zero then reply v else reply this:this ?: v
.default double
Vector2D. operator_greaterThanDoubleDot(Vector2D<?,?> v)
Replies the signed angle from this to v:this >.. v
.default RP
Point2D. operator_minus(Vector2D<?,?> v)
Subtract the v vector to this point:this - v
.default IT
Shape2D. operator_minus(Vector2D<?,?> v)
Create a new shape by translating this shape of the given vector:this - v
default RV
Vector2D. operator_minus(Vector2D<?,?> v)
Subtract a vector to this vector:this - v
.default double
Vector2D. operator_multiply(Vector2D<?,?> v)
Dot product:this * v
.default RP
Point2D. operator_plus(Vector2D<?,?> v)
Sum of this point and a vector:this + v
.default IT
Shape2D. operator_plus(Vector2D<?,?> v)
Create a new shape by translating this shape of the given vector:this + v
default RV
Vector2D. operator_plus(Vector2D<?,?> v)
Sum of this vector and the given vector:this + v
.default double
Vector2D. operator_power(Vector2D<?,?> v)
Perp product of this vector and the given vector:this ** v
.default void
Point2D. operator_remove(Vector2D<?,?> v)
Subtract the v vector to this:this -= v
.default void
Shape2D. operator_remove(Vector2D<?,?> v)
Translate this shape by substracting the given vector:this -= v
default void
UnmodifiablePoint2D. operator_remove(Vector2D<?,?> v)
default void
UnmodifiableVector2D. operator_remove(Vector2D<?,?> v)
default void
Vector2D. operator_remove(Vector2D<?,?> v)
Substract a vector to this vector:this -= v
.default double
Vector2D. operator_upTo(Vector2D<?,?> v)
Replies if the absolute angle between this and v:this .. b
.default double
Vector2D. perp(Vector2D<?,?> vector)
Compute the the perpendicular product of the two vectors (aka. the determinant of two vectors).default void
Point2D. scaleAdd(double scale, Point2D<?,?> point, Vector2D<?,?> vector)
Sets the value of this tuple to the scalar multiplication of tuple t1 plus tuple t2 (this = s*point + vector).default void
Point2D. scaleAdd(double scale, Vector2D<?,?> vector)
Sets the value of this tuple to the scalar multiplication of itself and then adds tuple t1 (this = s*this + vector).default void
Point2D. scaleAdd(double scale, Vector2D<?,?> vector, Point2D<?,?> point)
Sets the value of this tuple to the scalar multiplication of tuple t1 plus tuple t2 (this = s*vector + point).default void
Point2D. scaleAdd(int scale, Point2D<?,?> point, Vector2D<?,?> vector)
Sets the value of this tuple to the scalar multiplication of tuple t1 plus tuple t2 (this = s*point + vector).default void
Point2D. scaleAdd(int scale, Vector2D<?,?> vector)
Sets the value of this tuple to the scalar multiplication of itself and then adds tuple t1 (this = s*this + vector).default void
Point2D. scaleAdd(int scale, Vector2D<?,?> vector, Point2D<?,?> point)
Sets the value of this tuple to the scalar multiplication of tuple t1 plus tuple t2 (this = s*vector + point).default void
UnmodifiablePoint2D. scaleAdd(double scale, Point2D<?,?> point, Vector2D<?,?> vector)
default void
UnmodifiablePoint2D. scaleAdd(double scale, Vector2D<?,?> vector)
default void
UnmodifiablePoint2D. scaleAdd(double scale, Vector2D<?,?> vector, Point2D<?,?> point)
default void
UnmodifiablePoint2D. scaleAdd(int scale, Point2D<?,?> point, Vector2D<?,?> vector)
default void
UnmodifiablePoint2D. scaleAdd(int scale, Vector2D<?,?> vector)
default void
UnmodifiablePoint2D. scaleAdd(int scale, Vector2D<?,?> vector, Point2D<?,?> point)
default void
UnmodifiableVector2D. scaleAdd(double scale, Vector2D<?,?> vector)
default void
UnmodifiableVector2D. scaleAdd(double scale, Vector2D<?,?> vector1, Vector2D<?,?> vector2)
default void
UnmodifiableVector2D. scaleAdd(int scale, Vector2D<?,?> vector)
default void
UnmodifiableVector2D. scaleAdd(int scale, Vector2D<?,?> vector1, Vector2D<?,?> vector2)
default void
Vector2D. scaleAdd(double scale, Vector2D<?,?> vector)
Sets the value of this tuple to the scalar multiplication of itself and then adds tuple vector (this = s*this + vector).default void
Vector2D. scaleAdd(double scale, Vector2D<?,?> vector1, Vector2D<?,?> vector2)
Sets the value of this tuple to the scalar multiplication of the tuple vector1 plus the tuple vector2 (this = s*vector1 + vector2).default void
Vector2D. scaleAdd(int scale, Vector2D<?,?> vector)
Sets the value of this tuple to the scalar multiplication of itself and then adds tuple vector (this = s*this + vector).default void
Vector2D. scaleAdd(int scale, Vector2D<?,?> t1, Vector2D<?,?> t2)
Sets the value of this tuple to the scalar multiplication of tuple t1 plus tuple t2 (this = s*t1 + t2).default double
Vector2D. signedAngle(Vector2D<?,?> vector)
Compute a signed angle between this vector and the given vector.default void
Point2D. sub(Point2D<?,?> point, Vector2D<?,?> vector)
Sets the value of this tuple to the difference of tuples point and vector (this = point - vector).default void
Point2D. sub(Vector2D<?,?> vector)
Sets the value of this tuple to the difference of itself and the given vector (this = this - vector).default void
UnmodifiablePoint2D. sub(Point2D<?,?> point, Vector2D<?,?> vector)
default void
UnmodifiablePoint2D. sub(Vector2D<?,?> vector)
default void
UnmodifiableVector2D. sub(Vector2D<?,?> vector1)
default void
UnmodifiableVector2D. sub(Vector2D<?,?> vector1, Vector2D<?,?> vector2)
default void
Vector2D. sub(Vector2D<?,?> vector)
Sets the value of this tuple to the difference of itself and vector (this = this - vector).default void
Vector2D. sub(Vector2D<?,?> vector1, Vector2D<?,?> vector2)
Sets the value of this tuple to the difference of tuples vector1 and vector2 (this = vector1 - vector2).void
Shape2D. translate(Vector2D<?,?> vector)
Translate the shape.void
Transform2D. translate(Vector2D<?,?> translation)
Translate the position.default void
UnmodifiableVector2D. turn(double angle, Vector2D<?,?> vectorToTurn)
default void
Vector2D. turn(double angle, Vector2D<?,?> vectorToTurn)
Turn the given vector about the given rotation angle, and set this vector with the result.default void
UnmodifiableVector2D. turnLeft(double angle, Vector2D<?,?> vectorToTurn)
default void
Vector2D. turnLeft(double angle, Vector2D<?,?> vectorToTurn)
Turn the given vector on the left, and set this vector with the result.default void
Vector2D. turnLeft(double angle, Vector2D<?,?> vectorToTurn, CoordinateSystem2D system)
Turn the given vector on the left, and set this vector with the result.default void
UnmodifiableVector2D. turnRight(double angle, Vector2D<?,?> vectorToTurn)
default void
Vector2D. turnRight(double angle, Vector2D<?,?> vectorToTurn)
Turn this vector on the right when the given rotation angle is positive. -
Uses of Vector2D in org.arakhne.afc.math.geometry.d2.afp
Classes in org.arakhne.afc.math.geometry.d2.afp with type parameters of type Vector2D Modifier and Type Interface Description interface
Circle2afp<ST extends Shape2afp<?,?,IE,P,V,B>,IT extends Circle2afp<?,?,IE,P,V,B>,IE extends PathElement2afp,P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>,B extends Rectangle2afp<?,?,IE,P,V,B>>
Fonctional interface that represented a 2D circle on a plane.interface
Ellipse2afp<ST extends Shape2afp<?,?,IE,P,V,B>,IT extends Ellipse2afp<?,?,IE,P,V,B>,IE extends PathElement2afp,P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>,B extends Rectangle2afp<?,?,IE,P,V,B>>
Fonctional interface that represented a 2D ellipse on a plane.interface
GeomFactory2afp<E extends PathElement2afp,P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>,B extends Rectangle2afp<?,?,E,P,V,B>>
Factory of geometrical elements.interface
MultiShape2afp<ST extends Shape2afp<?,?,IE,P,V,B>,IT extends MultiShape2afp<?,?,CT,IE,P,V,B>,CT extends Shape2afp<?,?,IE,P,V,B>,IE extends PathElement2afp,P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>,B extends Rectangle2afp<?,?,IE,P,V,B>>
Container for grouping of shapes.interface
OrientedRectangle2afp<ST extends Shape2afp<?,?,IE,P,V,B>,IT extends OrientedRectangle2afp<?,?,IE,P,V,B>,IE extends PathElement2afp,P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>,B extends Rectangle2afp<?,?,IE,P,V,B>>
Fonctional interface that represented a 2D oriented rectangle on a plane.interface
Parallelogram2afp<ST extends Shape2afp<?,?,IE,P,V,B>,IT extends Parallelogram2afp<?,?,IE,P,V,B>,IE extends PathElement2afp,P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>,B extends Rectangle2afp<?,?,IE,P,V,B>>
Fonctional interface that represented a 2D parallelogram on a plane.interface
Path2afp<ST extends Shape2afp<?,?,IE,P,V,B>,IT extends Path2afp<?,?,IE,P,V,B>,IE extends PathElement2afp,P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>,B extends Rectangle2afp<?,?,IE,P,V,B>>
Fonctional interface that represented a 2D path on a plane.(package private) class
PointCollection<P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>>
An collection of the points of the path.interface
Rectangle2afp<ST extends Shape2afp<?,?,IE,P,V,B>,IT extends Rectangle2afp<?,?,IE,P,V,B>,IE extends PathElement2afp,P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>,B extends Rectangle2afp<?,?,IE,P,V,B>>
Fonctional interface that represented a 2D rectangle on a plane.interface
RectangularShape2afp<ST extends Shape2afp<?,?,IE,P,V,B>,IT extends RectangularShape2afp<?,?,IE,P,V,B>,IE extends PathElement2afp,P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>,B extends Rectangle2afp<?,?,IE,P,V,B>>
Fonctional interface that represented a rectangular shape on a plane.interface
RoundRectangle2afp<ST extends Shape2afp<?,?,IE,P,V,B>,IT extends RoundRectangle2afp<?,?,IE,P,V,B>,IE extends PathElement2afp,P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>,B extends Rectangle2afp<?,?,IE,P,V,B>>
Fonctional interface that represented a 2D round rectangle on a plane.interface
Segment2afp<ST extends Shape2afp<?,?,IE,P,V,B>,IT extends Segment2afp<?,?,IE,P,V,B>,IE extends PathElement2afp,P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>,B extends Rectangle2afp<?,?,IE,P,V,B>>
Fonctional interface that represented a 2D segment/line on a plane.interface
Shape2afp<ST extends Shape2afp<?,?,IE,P,V,B>,IT extends Shape2afp<?,?,IE,P,V,B>,IE extends PathElement2afp,P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>,B extends Rectangle2afp<?,?,IE,P,V,B>>
2D shape with 2D floating coordinates.interface
Triangle2afp<ST extends Shape2afp<?,?,IE,P,V,B>,IT extends Triangle2afp<?,?,IE,P,V,B>,IE extends PathElement2afp,P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>,B extends Rectangle2afp<?,?,IE,P,V,B>>
Fonctional interface that represented a 2D triangle on a plane.Classes in org.arakhne.afc.math.geometry.d2.afp that implement Vector2D Modifier and Type Class Description class
InnerComputationVector2afp
A vector that is used for internal computations.Methods in org.arakhne.afc.math.geometry.d2.afp with parameters of type Vector2D Modifier and Type Method Description default void
Path2afp. arcTo(Point2D<?,?> to, Vector2D<?,?> radii, double xAxisRotation, boolean largeArcFlag, boolean sweepFlag)
default void
Rectangle2afp. avoidCollisionWith(Rectangle2afp<?,?,?,?,?,?> reference, Vector2D<?,?> result)
Move this rectangle to avoid collision with the reference rectangle.default void
Rectangle2afp. avoidCollisionWith(Rectangle2afp<?,?,?,?,?,?> reference, Vector2D<?,?> displacementDirection, Vector2D<?,?> result)
Move this rectangle to avoid collision with the reference rectangle.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
Parallelogram2afp. calculatesOrthogonalAxes(Iterable<? extends Point2D<?,?>> points, Vector2D<?,?> raxis, Vector2D<?,?> saxis)
Compute the axes of an oriented bounding rectangle that is enclosing the set of points.InnerComputationPoint2afp
InnerComputationGeomFactory. convertToPoint(Vector2D<?,?> v)
InnerComputationVector2afp
InnerComputationGeomFactory. convertToVector(Vector2D<?,?> v)
default void
OrientedRectangle2afp. set(Point2D<?,?> center, Vector2D<?,?> axis1, double axis1Extent, double axis2Extent)
Set the oriented rectangle.default void
Parallelogram2afp. set(Point2D<?,?> center, Vector2D<?,?> axis1, double axis1Extent, Vector2D<?,?> axis2, double axis2Extent)
Set the parallelogram.default void
Parallelogram2afp. setFirstAxis(Vector2D<?,?> axis)
Set the first axis of the rectangle.default void
Parallelogram2afp. setFirstAxis(Vector2D<?,?> axis, double extent)
Set the first axis of the rectangle.default void
Parallelogram2afp. setSecondAxis(Vector2D<?,?> axis)
Set the second axis of the rectangle.default void
Parallelogram2afp. setSecondAxis(Vector2D<?,?> axis, double extent)
Set the second axis of the rectangle.default void
Shape2afp. translate(Vector2D<?,?> vector)
-
Uses of Vector2D in org.arakhne.afc.math.geometry.d2.ai
Classes in org.arakhne.afc.math.geometry.d2.ai with type parameters of type Vector2D Modifier and Type Interface Description interface
Circle2ai<ST extends Shape2ai<?,?,IE,P,V,B>,IT extends Circle2ai<?,?,IE,P,V,B>,IE extends PathElement2ai,P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>,B extends Rectangle2ai<?,?,IE,P,V,B>>
Fonctional interface that represented a 2D circle on a plane.static class
Circle2ai.CirclePerimeterIterator<P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>>
Iterates on points on the perimeter of a circle.interface
GeomFactory2ai<E extends PathElement2ai,P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>,B extends Rectangle2ai<?,?,E,P,V,B>>
Factory of geometrical elements.interface
MultiShape2ai<ST extends Shape2ai<?,?,IE,P,V,B>,IT extends MultiShape2ai<?,?,CT,IE,P,V,B>,CT extends Shape2ai<?,?,IE,P,V,B>,IE extends PathElement2ai,P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>,B extends Rectangle2ai<?,?,IE,P,V,B>>
Container for grouping of shapes.static class
MultiShape2ai.MultiShapePointIterator<P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>>
Iterator on the points of the multishape.interface
Path2ai<ST extends Shape2ai<?,?,IE,P,V,B>,IT extends Path2ai<?,?,IE,P,V,B>,IE extends PathElement2ai,P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>,B extends Rectangle2ai<?,?,IE,P,V,B>>
Fonctional interface that represented a 2D path on a plane.static class
Path2ai.PixelIterator<P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>>
Iterator on the pixels of the path.(package private) class
PointCollection<P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>>
An collection of the points of the path.interface
Rectangle2ai<ST extends Shape2ai<?,?,IE,P,V,B>,IT extends Rectangle2ai<?,?,IE,P,V,B>,IE extends PathElement2ai,P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>,B extends Rectangle2ai<?,?,IE,P,V,B>>
Fonctional interface that represented a 2D rectangle on a plane.static class
Rectangle2ai.RectangleSideIterator<P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>>
Iterates on points on the sides of a rectangle.interface
RectangularShape2ai<ST extends Shape2ai<?,?,IE,P,V,B>,IT extends RectangularShape2ai<?,?,IE,P,V,B>,IE extends PathElement2ai,P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>,B extends Rectangle2ai<?,?,IE,P,V,B>>
Fonctional interface that represented a rectangular shape on a plane.interface
Segment2ai<ST extends Shape2ai<?,?,IE,P,V,B>,IT extends Segment2ai<?,?,IE,P,V,B>,IE extends PathElement2ai,P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>,B extends Rectangle2ai<?,?,IE,P,V,B>>
Fonctional interface that represented a 2D segment/line on a plane.static class
Segment2ai.BresenhamLineIterator<P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>>
The Bresenham line algorithm is an algorithm which determines which points in an n-dimensional raster should be plotted in order to form a close approximation to a straight line between two given points.interface
Shape2ai<ST extends Shape2ai<?,?,IE,P,V,B>,IT extends Shape2ai<?,?,IE,P,V,B>,IE extends PathElement2ai,P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>,B extends Rectangle2ai<?,?,IE,P,V,B>>
2D shape with 2d floating coordinates.Classes in org.arakhne.afc.math.geometry.d2.ai that implement Vector2D Modifier and Type Class Description class
InnerComputationVector2ai
A vector that is used for internal computations.Methods in org.arakhne.afc.math.geometry.d2.ai with type parameters of type Vector2D Modifier and Type Method Description static <P extends Point2D<? super P,? super V>,V extends Vector2D<? super V,? super P>>
Iterator<P>Circle2ai. newPointIterator(int cx, int cy, int radius, int firstOctantIndex, int nbOctants, GeomFactory2ai<?,P,V,?> factory)
Replies the points of the circle perimeters starting by the first octant.Methods in org.arakhne.afc.math.geometry.d2.ai with parameters of type Vector2D Modifier and Type Method Description default void
Path2ai. arcTo(Point2D<?,?> to, Vector2D<?,?> radii, double xAxisRotation, boolean largeArcFlag, boolean sweepFlag)
InnerComputationPoint2ai
InnerComputationGeomFactory. convertToPoint(Vector2D<?,?> v)
InnerComputationVector2ai
InnerComputationGeomFactory. convertToVector(Vector2D<?,?> v)
default void
Shape2ai. translate(Vector2D<?,?> vector)
-
Uses of Vector2D in org.arakhne.afc.math.geometry.d2.d
Classes in org.arakhne.afc.math.geometry.d2.d that implement Vector2D Modifier and Type Class Description class
Vector2d
2D Vector with 2 double precision floating-point numbers.Methods in org.arakhne.afc.math.geometry.d2.d with parameters of type Vector2D Modifier and Type Method Description void
Point2d. add(Point2D<?,?> point, Vector2D<?,?> vector)
void
Point2d. add(Vector2D<?,?> vector)
void
Point2d. add(Vector2D<?,?> vector, Point2D<?,?> point)
void
Vector2d. add(Vector2D<?,?> vector)
void
Vector2d. add(Vector2D<?,?> vector1, Vector2D<?,?> vector2)
Point2d
GeomFactory2d. convertToPoint(Vector2D<?,?> v)
Vector2d
GeomFactory2d. convertToVector(Vector2D<?,?> v)
double
Vector2d. dot(Vector2D<?,?> vector)
double
Vector2d. perp(Vector2D<?,?> vector)
void
Point2d. scaleAdd(double scale, Point2D<?,?> point, Vector2D<?,?> vector)
void
Point2d. scaleAdd(double scale, Vector2D<?,?> vector)
void
Point2d. scaleAdd(double scale, Vector2D<?,?> vector, Point2D<?,?> point)
void
Point2d. scaleAdd(int scale, Point2D<?,?> point, Vector2D<?,?> vector)
void
Point2d. scaleAdd(int scale, Vector2D<?,?> vector)
void
Point2d. scaleAdd(int scale, Vector2D<?,?> vector, Point2D<?,?> point)
void
Vector2d. scaleAdd(double scale, Vector2D<?,?> vector)
void
Vector2d. scaleAdd(double scale, Vector2D<?,?> vector1, Vector2D<?,?> vector2)
void
Vector2d. scaleAdd(int scale, Vector2D<?,?> vector)
void
Vector2d. scaleAdd(int scale, Vector2D<?,?> vector1, Vector2D<?,?> vector2)
void
Point2d. sub(Point2D<?,?> point, Vector2D<?,?> vector)
void
Point2d. sub(Vector2D<?,?> vector)
void
Vector2d. sub(Vector2D<?,?> vector)
void
Vector2d. sub(Vector2D<?,?> vector1, Vector2D<?,?> vector2)
Constructors in org.arakhne.afc.math.geometry.d2.d with parameters of type Vector2D Constructor Description OrientedPoint2d(Point2D<?,?> point, Vector2D<?,?> vector)
Construct an oriented point from a point and a tangent vector.OrientedRectangle2d(Point2D<?,?> center, Vector2D<?,?> axis1, double axis1Extent, double axis2Extent)
Construct an oriented rectangle.Parallelogram2d(Point2D<?,?> center, Vector2D<?,?> axis1, double axis1Extent, Vector2D<?,?> axis2, double axis2Extent)
Construct a parallelogram. -
Uses of Vector2D in org.arakhne.afc.math.geometry.d2.dfx
Classes in org.arakhne.afc.math.geometry.d2.dfx that implement Vector2D Modifier and Type Class Description 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 Vector2D Modifier and Type Method Description Point2dfx
GeomFactory2dfx. convertToPoint(Vector2D<?,?> v)
Vector2dfx
GeomFactory2dfx. convertToVector(Vector2D<?,?> v)
Constructors in org.arakhne.afc.math.geometry.d2.dfx with parameters of type Vector2D Constructor Description OrientedPoint2dfx(Point2D<?,?> point, Vector2D<?,?> tangent)
Construct an oriented point from a point and a tangent vector.OrientedRectangle2dfx(Point2D<?,?> center, Vector2D<?,?> axis1, double axis1Extent, double axis2Extent)
Construct an oriented rectangle.Parallelogram2dfx(Point2D<?,?> center, Vector2D<?,?> axis1, double axis1Extent, Vector2D<?,?> axis2, double axis2Extent)
Construct a parallelogram. -
Uses of Vector2D in org.arakhne.afc.math.geometry.d2.i
Classes in org.arakhne.afc.math.geometry.d2.i that implement Vector2D Modifier and Type Class Description class
Vector2i
2D Vector with 2 integer numbers.Methods in org.arakhne.afc.math.geometry.d2.i with parameters of type Vector2D Modifier and Type Method Description void
Point2i. add(Point2D<?,?> point, Vector2D<?,?> vector)
void
Point2i. add(Vector2D<?,?> vector)
void
Point2i. add(Vector2D<?,?> vector, Point2D<?,?> point)
void
Vector2i. add(Vector2D<?,?> vector)
void
Vector2i. add(Vector2D<?,?> vector1, Vector2D<?,?> vector2)
Point2i
GeomFactory2i. convertToPoint(Vector2D<?,?> vector)
Vector2i
GeomFactory2i. convertToVector(Vector2D<?,?> vector)
double
Vector2i. dot(Vector2D<?,?> vector)
double
Vector2i. perp(Vector2D<?,?> vector)
void
Point2i. scaleAdd(double scale, Point2D<?,?> point, Vector2D<?,?> vector)
void
Point2i. scaleAdd(double scale, Vector2D<?,?> vector)
void
Point2i. scaleAdd(double scale, Vector2D<?,?> vector, Point2D<?,?> point)
void
Point2i. scaleAdd(int scale, Point2D<?,?> point, Vector2D<?,?> vector)
void
Point2i. scaleAdd(int scale, Vector2D<?,?> vector)
void
Point2i. scaleAdd(int scale, Vector2D<?,?> vector, Point2D<?,?> point)
void
Vector2i. scaleAdd(double scale, Vector2D<?,?> vector)
void
Vector2i. scaleAdd(double scale, Vector2D<?,?> vector1, Vector2D<?,?> vector2)
void
Vector2i. scaleAdd(int scale, Vector2D<?,?> vector)
void
Vector2i. scaleAdd(int scale, Vector2D<?,?> vector1, Vector2D<?,?> vector2)
void
Point2i. sub(Point2D<?,?> point, Vector2D<?,?> vector)
void
Point2i. sub(Vector2D<?,?> vector)
void
Vector2i. sub(Vector2D<?,?> vector)
void
Vector2i. sub(Vector2D<?,?> vector1, Vector2D<?,?> vector2)
Constructors in org.arakhne.afc.math.geometry.d2.i with parameters of type Vector2D Constructor Description OrientedPoint2i(Point2D<?,?> point, Vector2D<?,?> vector)
Construct an oriented point from a point and a tangent vector. -
Uses of Vector2D in org.arakhne.afc.math.geometry.d2.ifx
Classes in org.arakhne.afc.math.geometry.d2.ifx that implement Vector2D Modifier and Type Class Description class
Vector2ifx
2D Vector with 2 integer FX properties.Methods in org.arakhne.afc.math.geometry.d2.ifx with parameters of type Vector2D Modifier and Type Method Description Point2ifx
GeomFactory2ifx. convertToPoint(Vector2D<?,?> vector)
Vector2ifx
GeomFactory2ifx. convertToVector(Vector2D<?,?> vector)
Constructors in org.arakhne.afc.math.geometry.d2.ifx with parameters of type Vector2D Constructor Description OrientedPoint2ifx(Point2D<?,?> point, Vector2D<?,?> tangent)
Construct an oriented point from a point and a tangent vector. -
Uses of Vector2D in org.arakhne.afc.math.matrix
Methods in org.arakhne.afc.math.matrix with parameters of type Vector2D 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.boolean
Matrix2d. cov(Vector2D<?,?> result, Point2D<?,?>... tuples)
Set this matrix with the covariance matrix's elements for the given set of tuples.boolean
Matrix2d. cov(Vector2D<?,?> result, Vector2D<?,?>... tuples)
Set this matrix with the covariance matrix's elements for the given set of tuples. -
Uses of Vector2D in org.arakhne.afc.math.physics
Methods in org.arakhne.afc.math.physics with parameters of type Vector2D Modifier and Type Method Description void
JavaPhysicsEngine. motionNewtonEuler1Law1D5(Vector2D<?,?> velocity, double minSpeed, double maxSpeed, double dt, Vector2D<?,?> result)
Deprecated, for removal: This API element is subject to removal in a future version.since 16.0void
PhysicsEngine. motionNewtonEuler1Law1D5(Vector2D<?,?> velocity, double minSpeed, double maxSpeed, double dt, Vector2D<?,?> result)
Deprecated, for removal: This API element is subject to removal in a future version.static void
PhysicsUtil. motionNewtonEuler1Law1D5(Vector2D<?,?> velocity, double minSpeed, double maxSpeed, double dt, Vector2D<?,?> result)
Deprecated, for removal: This API element is subject to removal in a future version.void
JavaPhysicsEngine. motionNewtonEuler1Law2D(Vector2D<?,?> velocity, double minSpeed, double maxSpeed, double dt, Vector2D<?,?> result)
void
PhysicsEngine. motionNewtonEuler1Law2D(Vector2D<?,?> velocity, double minSpeed, double maxSpeed, double dt, Vector2D<?,?> result)
Compute and replies a motion according to Newton-Euler-1 equations for motion (where acceleration is not significant).static void
PhysicsUtil. motionNewtonEuler1Law2D(Vector2D<?,?> velocity, double minSpeed, double maxSpeed, double dt, Vector2D<?,?> result)
Compute and replies a motion according to Newton-Euler-1 equations for motion.void
JavaPhysicsEngine. motionNewtonLaw1D5(Vector2D<?,?> velocity, double minSpeed, double maxSpeed, Vector2D<?,?> acceleration, double minAcceleration, double maxAcceleration, double dt, Vector2D<?,?> result)
Deprecated, for removal: This API element is subject to removal in a future version.since 16.0void
PhysicsEngine. motionNewtonLaw1D5(Vector2D<?,?> velocity, double minSpeed, double maxSpeed, Vector2D<?,?> acceleration, double minAcceleration, double maxAcceleration, double dt, Vector2D<?,?> result)
Deprecated, for removal: This API element is subject to removal in a future version.static void
PhysicsUtil. motionNewtonLaw1D5(Vector2D<?,?> velocity, double minSpeed, double maxSpeed, Vector2D<?,?> acceleration, double minAcceleration, double maxAcceleration, double dt, Vector2D<?,?> result)
Deprecated, for removal: This API element is subject to removal in a future version.void
JavaPhysicsEngine. motionNewtonLaw2D(Vector2D<?,?> velocity, double minSpeed, double maxSpeed, Vector2D<?,?> acceleration, double minAcceleration, double maxAcceleration, double dt, Vector2D<?,?> result)
void
PhysicsEngine. motionNewtonLaw2D(Vector2D<?,?> velocity, double minSpeed, double maxSpeed, Vector2D<?,?> acceleration, double minAcceleration, double maxAcceleration, double dt, Vector2D<?,?> result)
Compute and replies a motion according to high school physics Newton's equations for motion.static void
PhysicsUtil. motionNewtonLaw2D(Vector2D<?,?> velocity, double minSpeed, double maxSpeed, Vector2D<?,?> acceleration, double minAcceleration, double maxAcceleration, double dt, Vector2D<?,?> result)
Compute and replies a motion according to high school physics Newton's equations for motion. -
Uses of Vector2D in org.arakhne.afc.math.physics.kinematic.linear
Methods in org.arakhne.afc.math.physics.kinematic.linear that return Vector2D Modifier and Type Method Description default Vector2D<?,?>
LinearInstantVelocityKinematic. getLinearVelocity2D()
Replies the instant velocity of the object.
-