Uses of Class
math.geom2d.Vector2D

Packages that use Vector2D
math.geom2d Planar geometry toolbox. 
math.geom2d.circulinear.buffer Computation of buffer for circulinear shapes. 
math.geom2d.conic Definition of various conic curves like circles, ellipses, parabolas and hyperbolas, and their respective arcs. 
math.geom2d.curve Curves interface hierarchy, and implementations of curve sets and various poly-curves. 
math.geom2d.line Implementations of 'linear shapes', i.e. curves which can be embedded into a straight lines, like straight lines, line segments, or rays
math.geom2d.polygon Definitions and implementations of shapes composed several line segments: polylines, rings, polygons. 
math.geom2d.spline Bezier curves, and more generally polynomial curves. 
 

Uses of Vector2D in math.geom2d
 

Methods in math.geom2d that return Vector2D
 Vector2D Vector2D.clone()
           
static Vector2D Vector2D.create(double x, double y)
          Deprecated. since 0.11.1
static Vector2D Vector2D.create(Point2D point)
          Deprecated. since 0.11.1
static Vector2D Vector2D.createPolar(double rho, double theta)
          Creates a new vector by specifying the distance to the origin, and the angle with the horizontal.
 Vector2D Vector2D.minus(Vector2D v)
          Returns the subtraction of current vector with vector given as parameter.
 Vector2D Vector2D.normalize()
          Returns the vector with same direction as this one, but with norm equal to 1.
 Vector2D Vector2D.opposite()
          Returns the opposite vector v2 of this, such that the sum of this and v2 equals the null vector.
 Vector2D Vector2D.plus(Vector2D v)
          Returns the sum of current vector with vector given as parameter.
 Vector2D Vector2D.rotate(double theta)
          Rotates the vector by the given angle.
 Vector2D Vector2D.times(double k)
          Multiplies the vector by a scalar amount.
 Vector2D Vector2D.transform(AffineTransform2D trans)
          Transform the vector, by using only the first 4 parameters of the transform.
 

Methods in math.geom2d with parameters of type Vector2D
static double Angle2D.angle(Vector2D vect1, Vector2D vect2)
          Returns the oriented angle between two vectors.
static AffineTransform2D AffineTransform2D.createTranslation(Vector2D vect)
          Return a translation by the given vector.
 double Vector2D.cross(Vector2D v)
          Get the cross product with point p.
static double Vector2D.cross(Vector2D v1, Vector2D v2)
          Get the cross product of the two vectors, defined by : dx1*dy2 - dx2*dy1 Cross product is zero for colinear vectors.
 double Vector2D.dot(Vector2D v)
          Get the dot product with point p.
static double Vector2D.dot(Vector2D v1, Vector2D v2)
          Get the dot product of the two vectors, defined by : dx1*dy2 + dx2*dy1 Dot product is zero if the vectors defined by the 2 vectors are orthogonal.
static double Angle2D.horizontalAngle(Vector2D vect)
          Returns the horizontal angle formed by the line joining the origin and the point with given coordinate.
 boolean Vector2D.isColinear(Vector2D v)
          test if the two vectors are colinear
static boolean Vector2D.isColinear(Vector2D v1, Vector2D v2)
          Tests if the two vectors are colinear
 boolean Vector2D.isOrthogonal(Vector2D v)
          test if the two vectors are orthogonal
static boolean Vector2D.isOrthogonal(Vector2D v1, Vector2D v2)
          Tests if the two vectors are orthogonal
 Vector2D Vector2D.minus(Vector2D v)
          Returns the subtraction of current vector with vector given as parameter.
 Point2D Point2D.minus(Vector2D v)
          Removes the coordinates of the given vector from the coordinates of this point.
 Vector2D Vector2D.plus(Vector2D v)
          Returns the sum of current vector with vector given as parameter.
 Point2D Point2D.plus(Vector2D v)
          Adds the coordinates of the given vector to the coordinates of this point.
 

Uses of Vector2D in math.geom2d.circulinear.buffer
 

Methods in math.geom2d.circulinear.buffer with parameters of type Vector2D
 CirculinearContinuousCurve2D TriangleCapFactory.createCap(Point2D center, Vector2D direction, double dist)
           
 CirculinearContinuousCurve2D ButtCapFactory.createCap(Point2D center, Vector2D direction, double dist)
           
 CirculinearContinuousCurve2D SquareCapFactory.createCap(Point2D center, Vector2D direction, double dist)
           
 CirculinearContinuousCurve2D RoundCapFactory.createCap(Point2D center, Vector2D direction, double dist)
           
 CirculinearContinuousCurve2D CapFactory.createCap(Point2D center, Vector2D direction, double dist)
           
 

Uses of Vector2D in math.geom2d.conic
 

Methods in math.geom2d.conic that return Vector2D
 Vector2D Hyperbola2D.getVector1()
           
 Vector2D Parabola2D.getVector1()
          Returns the first direction vector of the parabola
 Vector2D Hyperbola2D.getVector2()
           
 Vector2D Parabola2D.getVector2()
          Returns the second direction vector of the parabola.
 Vector2D Ellipse2D.projectedVector(Point2D point, double eMax)
          Compute projection of a point onto an ellipse.
 Vector2D Circle2D.tangent(double t)
           
 Vector2D Ellipse2D.tangent(double t)
           
 Vector2D HyperbolaBranch2D.tangent(double t)
           
 Vector2D EllipseArc2D.tangent(double t)
           
 Vector2D Parabola2D.tangent(double t)
           
 Vector2D CircleArc2D.tangent(double t)
           
 Vector2D ParabolaArc2D.tangent(double t)
           
 Vector2D HyperbolaBranchArc2D.tangent(double t)
           
 Vector2D Circle2D.vector1()
          Returns the first direction vector of the circle, in the direction of the major axis.
 Vector2D Ellipse2D.vector1()
          Returns the first direction vector of the ellipse, in the direction of the major axis.
 Vector2D Circle2D.vector2()
          Returns the second direction vector of the circle, in the direction of the minor axis.
 Vector2D Ellipse2D.vector2()
          Returns the second direction vector of the ellipse, in the direction of the minor axis.
 

Uses of Vector2D in math.geom2d.curve
 

Methods in math.geom2d.curve that return Vector2D
 Vector2D AbstractSmoothCurve2D.leftTangent(double t)
           
 Vector2D ContinuousCurve2D.leftTangent(double t)
          Computes the left tangent at the given position.
 Vector2D PolyCurve2D.leftTangent(double t)
           
 Vector2D AbstractSmoothCurve2D.normal(double t)
           
 Vector2D SmoothCurve2D.normal(double t)
          Returns the normal vector of the curve at the given position.
 Vector2D AbstractSmoothCurve2D.rightTangent(double t)
           
 Vector2D ContinuousCurve2D.rightTangent(double t)
          Computes the right tangent at the given position.
 Vector2D PolyCurve2D.rightTangent(double t)
           
 Vector2D SmoothCurve2D.tangent(double t)
          Returns the tangent of the curve at the given position.
 

Uses of Vector2D in math.geom2d.line
 

Methods in math.geom2d.line that return Vector2D
 Vector2D Line2D.direction()
           
 Vector2D AbstractLine2D.direction()
          Returns the direction vector of this linear shape.
 Vector2D LinearShape2D.direction()
          Return one direction vector of the linear shape.
 Vector2D Line2D.tangent(double t)
           
 Vector2D AbstractLine2D.tangent(double t)
           
 

Methods in math.geom2d.line with parameters of type Vector2D
static InvertedRay2D InvertedRay2D.create(Point2D target, Vector2D direction)
          Deprecated. since 0.11.1
static StraightLine2D StraightLine2D.create(Point2D origin, Vector2D direction)
          Deprecated. since 0.11.1
static Ray2D Ray2D.create(Point2D origin, Vector2D direction)
          Deprecated. since 0.11.1
 

Constructors in math.geom2d.line with parameters of type Vector2D
InvertedRay2D(Point2D point, Vector2D vector)
          Creates a new Ray2D, originating from point point<\code>, and going in the direction specified by vector<\code>.
Ray2D(Point2D point, Vector2D vector)
          Creates a new Ray2D, originating from point point<\code>, and going in the direction specified by vector<\code>.
StraightLine2D(Point2D point, Vector2D direction)
          Defines a new Straight line going through the given point, and with the specified direction vector.
 

Uses of Vector2D in math.geom2d.polygon
 

Methods in math.geom2d.polygon that return Vector2D
 Vector2D LinearCurve2D.leftTangent(double t)
           
 Vector2D LinearCurve2D.rightTangent(double t)
           
 

Uses of Vector2D in math.geom2d.spline
 

Methods in math.geom2d.spline that return Vector2D
 Vector2D CubicBezierCurve2D.tangent(double t)
           
 Vector2D QuadBezierCurve2D.tangent(double t)
           
 

Methods in math.geom2d.spline with parameters of type Vector2D
static PolyCubicBezierCurve2D PolyCubicBezierCurve2D.create(Point2D[] points, Vector2D[] vectors)
          Creates a series a cubic bezier curves, by grouping consecutive couples of points and vectors.
static CubicBezierCurve2D CubicBezierCurve2D.create(Point2D p1, Vector2D v1, Point2D p2, Vector2D v2)
          Deprecated. since 0.11.1
 

Constructors in math.geom2d.spline with parameters of type Vector2D
CubicBezierCurve2D(Point2D p1, Vector2D v1, Point2D p2, Vector2D v2)
          Build a new Bezier curve of degree 3 by specifying position and tangent of first and last points.