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.directionstatic final VectorVector.NULLThe (0,0) vector.Straight.positionMethods in org.eclipse.gef.geometry.euclidean that return VectorModifier and TypeMethodDescriptionVector.clone()Vector.getAveraged(Vector other) Vector.getCopy()Returns a copy of thisVectorobject.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 TypeMethodDescriptionbooleanbooleanStraight.containsWithinSegment(Vector segmentStart, Vector segmentEnd, Vector vector) Vector.getAngleCCW(Vector other) Vector.getAngleCW(Vector other) Vector.getAveraged(Vector other) doubleVector.getCrossProduct(Vector other) doubleVector.getDissimilarity(Vector other) doubleStraight.getDistance(Vector vector) Returns the distance of the providedVectorto thisStraight, which is the distance between the providedVectorand its projection onto thisStraight(seeStraight.getProjection(Vector)).doubleVector.getDotProduct(Vector other) doubleStraight.getParameterAt(Vector vp) Straight.getProjection(Vector vector) doubleStraight.getSignedDistanceCCW(Vector vector) doubleStraight.getSignedDistanceCW(Vector vector) doubleVector.getSimilarity(Vector other) Calculates the similarity of thisVectorand the provided one.Vector.getSubtracted(Vector other) booleanStraight.intersectsWithinSegment(Vector segmentStart, Vector segmentEnd, Straight other) booleanVector.isOrthogonalTo(Vector other) Checks if thisVectorand the provided one are orthogonal to each other.booleanVector.isParallelTo(Vector other) Checks if thisVectorand the provided one are parallel to each other.Constructors in org.eclipse.gef.geometry.euclidean with parameters of type Vector