org.simtk.geometry3d
Interface Vector2D

All Superinterfaces:
java.lang.Iterable, Location, MathVector
All Known Subinterfaces:
MutableVector2D
All Known Implementing Classes:
Vector2DClass

public interface Vector2D
extends MathVector, Location


Method Summary
 Vector3D cross(Vector2D v2)
           
 double getX()
           
 double getY()
           
 Vector2D minus(MathVector v2)
           
 Vector2D plus(MathVector v2)
           
 Vector2D rotate(double angle)
           
 Vector2D times(double s)
           
 double[] toArray()
           
 Vector2D unit()
           
 double x()
           
 double y()
           
 
Methods inherited from interface org.simtk.geometry3d.MathVector
distance, distanceSquared, dot, get, getDimension, getElement, length, lengthSquared
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

getX

double getX()

getY

double getY()

x

double x()

y

double y()

cross

Vector3D cross(Vector2D v2)

rotate

Vector2D rotate(double angle)

plus

Vector2D plus(MathVector v2)
Specified by:
plus in interface MathVector

minus

Vector2D minus(MathVector v2)
Specified by:
minus in interface MathVector

unit

Vector2D unit()
Specified by:
unit in interface MathVector

times

Vector2D times(double s)
Specified by:
times in interface MathVector

toArray

double[] toArray()