Uses of Class
math.geom2d.Vector2D

Packages that use Vector2D
math.geom2d Planar geometry toolbox. 
math.geom2d.conic Definition of various conic curves like circles, ellipses, parabolas and hyperbolas, and their resepctive 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. 
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)
          Static factory for creating a new point in cartesian coordinates.
static Vector2D Vector2D.create(Point2D point)
          Static factory for creating a new vector from the coordinate of a point.
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.getNormalizedVector()
          Returns the vector with same direction as this one, but with norm equal to 1.
 Vector2D Vector2D.getOpposite()
          Returns the opposite vector v2 of this, such that the sum of this and v2 equals the null vector.
 Vector2D Vector2D.minus(Vector2D v)
          Returns the subtraction of current vector with vector given as parameter.
 Vector2D Vector2D.plus(Vector2D v)
          Returns the sum of current vector with vector given as parameter.
 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 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 :
 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 :
static double Angle2D.getAngle(Vector2D vect1, Vector2D vect2)
          Gets angle between two vectors.
static double Angle2D.getHorizontalAngle(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.
 Vector2D Vector2D.plus(Vector2D v)
          Returns the sum of current vector with vector given as parameter.
 

Uses of Vector2D in math.geom2d.conic
 

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

Uses of Vector2D in math.geom2d.curve
 

Methods in math.geom2d.curve that return Vector2D
 Vector2D PolyCurve2D.getLeftTangent(double t)
           
 Vector2D ContinuousCurve2D.getLeftTangent(double t)
           
 Vector2D AbstractSmoothCurve2D.getLeftTangent(double t)
           
 Vector2D PolyCurve2D.getRightTangent(double t)
           
 Vector2D ContinuousCurve2D.getRightTangent(double t)
           
 Vector2D AbstractSmoothCurve2D.getRightTangent(double t)
           
 Vector2D SmoothCurve2D.getTangent(double t)
           
 

Uses of Vector2D in math.geom2d.line
 

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

Methods in math.geom2d.line with parameters of type Vector2D
static StraightLine2D StraightLine2D.create(Point2D origin, Vector2D direction)
          Creates a straight line through a point and with a given direction vector.
static Ray2D Ray2D.create(Point2D origin, Vector2D direction)
          Static factory for creating a new ray.
static InvertedRay2D InvertedRay2D.create(Point2D target, Vector2D direction)
          Static factory for creating a new inverted ray with given direction to target.
 void Ray2D.setRay(Point2D point, Vector2D vect)
          Deprecated. lines will become immutable in a future release
 void InvertedRay2D.setRay(Point2D point, Vector2D vect)
          Deprecated. lines will become immutable in a future release
 

Constructors in math.geom2d.line with parameters of type Vector2D
AbstractLine2D(Point2D point, Vector2D vector)
           
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)
          Define 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 Polyline2D.getLeftTangent(double t)
           
 Vector2D Polyline2D.getRightTangent(double t)
           
 

Uses of Vector2D in math.geom2d.spline
 

Methods in math.geom2d.spline that return Vector2D
 Vector2D QuadBezierCurve2D.getTangent(double t)
           
 Vector2D CubicBezierCurve2D.getTangent(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)
           
 

Constructors in math.geom2d.spline with parameters of type Vector2D
BezierCurve2D(Point2D p1, Vector2D v1, Point2D p2, Vector2D v2)
          Deprecated. Build a new Bezier curve of degree 3 by specifying position and tangent of first and last points.
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.
 



Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.