Jeospace API

org.jeospace.measure.angle
Class SexagesimalAngleType

java.lang.Object
  extended byorg.jeospace.measure.angle.SexagesimalAngleType
All Implemented Interfaces:
AngleType

public class SexagesimalAngleType
extends java.lang.Object
implements AngleType

Constant object identifiers of the type and grouping of the primary units and sub-units of sexigesimal angle representations.

The are two SexagesimalAngleType angle types:
A DMS type identifies an Angle composed with primary units of Degrees and sub-units of Minutes and Seconds
An HMS type identifies an Angle composed with primary units of Hours and sub-units of Minutes and Seconds

The identifiers of the individual primary and sub-unit fields are defined in SexagesimalAngleUnit.

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

Field Summary
static SexagesimalAngleType DMS
          Constant identifier of sexagesimal type of degrees/minutes/seconds
static SexagesimalAngleType HMS
          Constant identifier of sexagesimal type of hours/minutes/seconds
 java.lang.String name
          The name of the type
 
Constructor Summary
protected SexagesimalAngleType(java.lang.String name)
          Construct a SexagesimalAngleType object.
 
Method Summary
 java.lang.String toString()
          Return a String representation ( the name String ) of this SexagesimalAngleType object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DMS

public static final SexagesimalAngleType DMS
Constant identifier of sexagesimal type of degrees/minutes/seconds


HMS

public static final SexagesimalAngleType HMS
Constant identifier of sexagesimal type of hours/minutes/seconds


name

public final java.lang.String name
The name of the type

Constructor Detail

SexagesimalAngleType

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

Parameters:
name - the unit of angle's identifier
Method Detail

toString

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

Returns:
a String representation of this SexagesimalAngleType object

Jeospace API

Copyright © 2006 - jeospace.org