Uses of Class
org.eclipse.gef.geometry.euclidean.Vector
Packages that use Vector
Package
Description
This package provides core abstractions to support calculations within
2-dimensional Euclidean space.
-
Uses of Vector in org.eclipse.gef.geometry.euclidean
Fields in org.eclipse.gef.geometry.euclidean declared as VectorModifier and TypeFieldDescriptionStraight.direction
static final Vector
Vector.NULL
The (0,0) vector.Straight.position
Methods in org.eclipse.gef.geometry.euclidean that return VectorModifier and TypeMethodDescriptionVector.clone()
Vector.getAveraged
(Vector other) Vector.getCopy()
Returns a copy of thisVector
object.Vector.getDivided
(double factor) Straight.getIntersection
(Straight other) Vector.getMultiplied
(double factor) Vector.getNormalized()
Vector.getOrthogonalComplement()
Returns the orthogonal complement of thisVector
, which is defined to be (-y, x).Straight.getPositionVectorAt
(double parameter) Straight.getProjection
(Vector vector) Vector.getRotatedCCW
(Angle angle) Vector.getRotatedCW
(Angle angle) Vector.getSubtracted
(Vector other) Methods in org.eclipse.gef.geometry.euclidean with parameters of type VectorModifier and TypeMethodDescriptionboolean
boolean
Straight.containsWithinSegment
(Vector segmentStart, Vector segmentEnd, Vector vector) Vector.getAngleCCW
(Vector other) Vector.getAngleCW
(Vector other) Vector.getAveraged
(Vector other) double
Vector.getCrossProduct
(Vector other) double
Vector.getDissimilarity
(Vector other) double
Straight.getDistance
(Vector vector) Returns the distance of the providedVector
to thisStraight
, which is the distance between the providedVector
and its projection onto thisStraight
(seeStraight.getProjection(Vector)
).double
Vector.getDotProduct
(Vector other) double
Straight.getParameterAt
(Vector vp) Straight.getProjection
(Vector vector) double
Straight.getSignedDistanceCCW
(Vector vector) double
Straight.getSignedDistanceCW
(Vector vector) double
Vector.getSimilarity
(Vector other) Calculates the similarity of thisVector
and the provided one.Vector.getSubtracted
(Vector other) boolean
Straight.intersectsWithinSegment
(Vector segmentStart, Vector segmentEnd, Straight other) boolean
Vector.isOrthogonalTo
(Vector other) Checks if thisVector
and the provided one are orthogonal to each other.boolean
Vector.isParallelTo
(Vector other) Checks if thisVector
and the provided one are parallel to each other.Constructors in org.eclipse.gef.geometry.euclidean with parameters of type Vector