Jeospace API

org.jeospace.measure.angle
Class AngleNorm

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

public class AngleNorm
extends java.lang.Object

Constant object identifiers of the options for normalization of an angle.

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

Field Summary
static AngleNorm FULL_REVOLUTION
          Constant indicating that the angle should be normalized to within a full revolution ( +/-360 degrees ), preserving the direction of the angle.
static AngleNorm FULL_REVOLUTION_NEGATIVE
          Constant indicating that the angle should be normalized to within a negative full revolution ( -360 degrees ).
static AngleNorm FULL_REVOLUTION_POSITIVE
          Constant indicating that the angle should be normalized to within a positive full revolution ( +360 degrees ).
static AngleNorm HALF_REVOLUTION
          Constant indicating that the angle should be normalized to within a half a revolution ( +/-180 degrees ).
 java.lang.String name
          The name of the angle direction
static AngleNorm NONE
          Constant indicating that no normalization should be performed.
 
Constructor Summary
protected AngleNorm(java.lang.String name)
          Construct a AngleNorm object.
 
Method Summary
static AngleNorm[] getAngleNorms()
          Return an array of the defined AngleNorm objects
 java.lang.String toString()
          Return a String representation ( the name String ) of this AngleNorm object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final AngleNorm NONE
Constant indicating that no normalization should be performed.


HALF_REVOLUTION

public static final AngleNorm HALF_REVOLUTION
Constant indicating that the angle should be normalized to within a half a revolution ( +/-180 degrees ). This is useful for representations of longitudes which are measured 180 degrees East or West of a prime meridian.


FULL_REVOLUTION

public static final AngleNorm FULL_REVOLUTION
Constant indicating that the angle should be normalized to within a full revolution ( +/-360 degrees ), preserving the direction of the angle.


FULL_REVOLUTION_POSITIVE

public static final AngleNorm FULL_REVOLUTION_POSITIVE
Constant indicating that the angle should be normalized to within a positive full revolution ( +360 degrees ). This is useful for representations of longitudes which are measured East of a prime meridian.


FULL_REVOLUTION_NEGATIVE

public static final AngleNorm FULL_REVOLUTION_NEGATIVE
Constant indicating that the angle should be normalized to within a negative full revolution ( -360 degrees ). This is useful for representations of longitudes which are measured West of a prime meridian.


name

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

Constructor Detail

AngleNorm

protected AngleNorm(java.lang.String name)
Construct a AngleNorm object.

Parameters:
name - the angle's normalization identifier
Method Detail

getAngleNorms

public static AngleNorm[] getAngleNorms()
Return an array of the defined AngleNorm objects

Returns:
the array of the defined AngleNorm objects

toString

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

Returns:
a String representation of this AngleNorm object

Jeospace API

Copyright © 2006 - jeospace.org