gui.components
Class Angle
java.lang.Object
gui.components.Angle
public class Angle
- extends java.lang.Object
- Author:
- jasonkb
Constructor Summary |
Angle()
|
Angle(double[] focusPoint,
double[] rayPoint,
double mag)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Angle
public Angle()
Angle
public Angle(double[] focusPoint,
double[] rayPoint,
double mag)
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: