Uses of Class
unlekker.geom.Vec2

Packages that use Vec2
unlekker.geom   
 

Uses of Vec2 in unlekker.geom
 

Methods in unlekker.geom that return Vec2
static Vec2 Vec2.findIntersection(Vec2 p1, Vec2 p2, Vec2 p3, Vec2 p4)
          Ccalculates intersection and checks for parallel lines.
static Vec2 Vec2.rotate(Vec2 v1, float deg)
          Rotates vector by a degree given in radians.
 

Methods in unlekker.geom with parameters of type Vec2
 void Vec2.add(Vec2 v)
          Adds vector v to this vector. x = x + v.x, y = y + v.y
static float Vec2.dot(Vec2 v1, Vec2 v2)
          Calculates dot product of two vectors v1 and v2.
 float Vec2.findDistance(Vec2 v)
          Returns distance between the point given by x,y and the point given by v.x, v.y.
static Vec2 Vec2.findIntersection(Vec2 p1, Vec2 p2, Vec2 p3, Vec2 p4)
          Ccalculates intersection and checks for parallel lines.
 void Vec2.mult(Vec2 v)
          Multiplies values of current vector with values of vector v.
static Vec2 Vec2.rotate(Vec2 v1, float deg)
          Rotates vector by a degree given in radians.
 void Vec2.set(Vec2 v)
          Sets vector to the values of v.
 void Vec2.sub(Vec2 v)
          Subtracts vector v from this vector. x = x - v.x, y = y - v.y
 

Constructors in unlekker.geom with parameters of type Vec2
Vec2(Vec2 v)
          Constructs a vector with x=v.x, y=v.y.