jumbo.euclid
Class Vector2

java.lang.Object
  |
  +--jumbo.euclid.Status
        |
        +--jumbo.euclid.Real2
              |
              +--jumbo.euclid.Vector2

public class Vector2
extends Real2

a 2-D vector. relationship with Complex and Polar not fully worked out. It may simply be a matter of style which is used.


Fields inherited from class jumbo.euclid.Real2
x, y
 
Constructor Summary
Vector2(double x, double y)
           
Vector2(Real2 r)
           
 
Method Summary
 Angle getAngleMadeWith(Vector2 v)
          I *think* I have written this so that the angle is positive as this rotates anticlockwise to v.
 
Methods inherited from class jumbo.euclid.Real2
addPolygonOnLine, clear, dotProduct, elementAt, equals, getAngle, getAngle, getLength, getMidPoint, getUnitVector, getX, getY, makePoint, multiplyBy, negative, plus, setX, setY, sortAscending, sortDescending, subtract, swap, toString, transformBy
 
Methods inherited from class jumbo.euclid.Status
NYI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Vector2

public Vector2(Real2 r)

Vector2

public Vector2(double x,
               double y)
Method Detail

getAngleMadeWith

public Angle getAngleMadeWith(Vector2 v)
I *think* I have written this so that the angle is positive as this rotates anticlockwise to v.