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
Methods inherited from interface java.lang.Iterable |
iterator |
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()