public class ExactVector2<T extends java.lang.Number> extends Vector2<T> implements IExactVector<T>
| Constructor and Description |
|---|
ExactVector2(Point2<T> start,
Point2<T> end) |
| Modifier and Type | Method and Description |
|---|---|
IPoint<T> |
getBasePoint() |
double |
getLength()
The length of the vector
|
IVector<T> |
getNormalVec() |
IPoint<T> |
translate(IPoint<T> p) |
getDimensions, getEndPoint, getX, getYequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDimensions, getEndPoint, getXgetDimensions, getXpublic IVector<T> getNormalVec()
getNormalVec in interface IExactVector<T extends java.lang.Number>getNormalVec in interface IPoint<T extends java.lang.Number>public IPoint<T> getBasePoint()
getBasePoint in interface IExactVector<T extends java.lang.Number>