mhframework
Class MHVector

java.lang.Object
  extended by mhframework.MHVector

public class MHVector
extends java.lang.Object


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

Constructor Detail

MHVector

public MHVector()

MHVector

public MHVector(double x0,
                double y0,
                double length,
                double angle)
Method Detail

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)