Jeospace API

org.jeospace.measure.angle
Class AngleSign

java.lang.Object
  extended byorg.jeospace.measure.angle.AngleSign

public class AngleSign
extends java.lang.Object

Constant object identifiers of the direction of rotation of an angle.

The are two directions, positive and negative. By convention, angles with zero values are considered positive.

Version:
$Revision: 1.1.1.1 $
Author:
Rex Melton
See Also:
Angle, DecimalAngle, SexagesimalAngle

Field Summary
 java.lang.String name
          The name of the angle direction
static AngleSign NEGATIVE
          Constant indicating a rotation in the negative direction
static AngleSign POSITIVE
          Constant indicating a rotation in the positive direction
 java.lang.String symbol
          The symbol of the angle direction
 int value
          The value of the angle direction
 
Constructor Summary
protected AngleSign(java.lang.String name, java.lang.String symbol, int value)
          Construct a AngleSign object.
 
Method Summary
static AngleSign[] getAngleSigns()
          Return an array of the defined AngleSign objects
 java.lang.String toString()
          Return a String representation ( the name String ) of this AngleSign object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

POSITIVE

public static final AngleSign POSITIVE
Constant indicating a rotation in the positive direction


NEGATIVE

public static final AngleSign NEGATIVE
Constant indicating a rotation in the negative direction


name

public final java.lang.String name
The name of the angle direction


symbol

public final java.lang.String symbol
The symbol of the angle direction


value

public final int value
The value of the angle direction

Constructor Detail

AngleSign

protected AngleSign(java.lang.String name,
                    java.lang.String symbol,
                    int value)
Construct a AngleSign object.

Parameters:
name - the angle's direction
symbol - the angle's direction
Method Detail

getAngleSigns

public static AngleSign[] getAngleSigns()
Return an array of the defined AngleSign objects

Returns:
the array of the defined AngleSign objects

toString

public java.lang.String toString()
Return a String representation ( the name String ) of this AngleSign object.

Returns:
a String representation of this AngleSign object

Jeospace API

Copyright © 2006 - jeospace.org