mhframework
Class MHVector
java.lang.Object
mhframework.MHVector
public class MHVector
- extends java.lang.Object
Constructor Summary |
MHVector()
|
MHVector(double x0,
double y0,
double length,
double angle)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MHVector
public MHVector()
MHVector
public MHVector(double x0,
double y0,
double length,
double angle)
getOriginPoint
public MHPoint getOriginPoint()
getEndPoint
public MHPoint getEndPoint()
getMagnitude
public double getMagnitude()
setMagnitude
public void setMagnitude(double magnitude)
getDirectionAngle
public double getDirectionAngle()
setDirectionAngle
public void setDirectionAngle(double angle)