net.surveyos.sourceforge.jtswarped.angles
Class DegreesValue

java.lang.Object
  extended by net.surveyos.sourceforge.jtswarped.angles.DegreesValue

public class DegreesValue
extends java.lang.Object

Represents a valid degrees value that is part of an angle value measured in degrees-minutes-seconds format. This value must be an integer between 0 and 359. You do not need to use this class directly to work with SurveyorsAngles and SurveyorsDirections. You can pass angle values to those classes direction. This class is used internally to validate and store degrees-minutes-seconds angle values.


Constructor Summary
DegreesValue(int argValue)
          Creates a new DegreesValue after checking for a valid integer argument.
 
Method Summary
 int getValue()
          Returns the value of this object in degrees as an integer.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DegreesValue

public DegreesValue(int argValue)
Creates a new DegreesValue after checking for a valid integer argument.

Method Detail

getValue

public int getValue()
Returns the value of this object in degrees as an integer.