gui.components
Class Angle

java.lang.Object
  extended by gui.components.Angle

public class Angle
extends java.lang.Object

Author:
jasonkb

Constructor Summary
Angle()
           
Angle(double[] focusPoint, double[] rayPoint, double mag)
           
 
Method Summary
 double[] getFocusPoint()
           
 double getFocusXPoint()
           
 double getFocusYPoint()
           
 double getOriginalMagnification()
           
 int getQuadrant()
          determine which quadrant the angle is in and assist in angle calcs
 double[] getRayPoint()
           
 double getRayXPoint()
           
 double getRayYPoint()
           
 double getValueDegreesT()
          Returns the degrees from true north of this angle
 double getValueRadians()
          Get value in radians...
 boolean isSet()
           
 void reset()
           
 void setFocusPoint(double[] point)
           
 void setMagnification(double mag)
           
 void setRayPoint(double[] point)
           
 void setSet()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Angle

public Angle()

Angle

public Angle(double[] focusPoint,
             double[] rayPoint,
             double mag)
Method Detail

getQuadrant

public int getQuadrant()
determine which quadrant the angle is in and assist in angle calcs

Returns:
quadrant

getFocusPoint

public double[] getFocusPoint()

setFocusPoint

public void setFocusPoint(double[] point)

getFocusXPoint

public double getFocusXPoint()

getFocusYPoint

public double getFocusYPoint()

getRayXPoint

public double getRayXPoint()

getRayYPoint

public double getRayYPoint()

getRayPoint

public double[] getRayPoint()

setRayPoint

public void setRayPoint(double[] point)

setMagnification

public void setMagnification(double mag)

getOriginalMagnification

public double getOriginalMagnification()

setSet

public void setSet()

reset

public void reset()

isSet

public boolean isSet()

getValueDegreesT

public double getValueDegreesT()
Returns the degrees from true north of this angle

Returns:
0.00 if #isSet() is false and the value from true north if available

getValueRadians

public double getValueRadians()
Get value in radians...

Returns: