com.metsci.glimpse.charts.vector.parser.autogen
Enum ENCUnit

java.lang.Object
  extended by java.lang.Enum<ENCUnit>
      extended by com.metsci.glimpse.charts.vector.parser.autogen.ENCUnit
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ENCUnit>

public enum ENCUnit
extends java.lang.Enum<ENCUnit>


Enum Constant Summary
ArcMinute_Angle
           
ArcSecond_Angle
           
BinWidth125Metres_Length
           
BinWidth165UsSurveyFeet_Length
           
BinWidth25Metres_Length
           
BinWidth3125Metres_Length
           
BinWidth330UsSurveyFeet_Length
           
BinWidth375Metres_Length
           
BinWidth625Metres_Length
           
BinWidth825UsSurveyFeet_Length
           
BritishChainBenoit1895A_Length
           
BritishChainBenoit1895B_Length
           
BritishChainSears1922_Length
           
BritishChainSears1922Truncated_Length
           
BritishFoot1865_Length
           
BritishFoot1936_Length
           
BritishFootBenoit1895A_Length
           
BritishFootBenoit1895B_Length
           
BritishFootSears1922_Length
           
BritishFootSears1922Truncated_Length
           
BritishLinkBenoit1895A_Length
           
BritishLinkBenoit1895B_Length
           
BritishLinkSears1922_Length
           
BritishLinkSears1922Truncated_Length
           
BritishYardBenoit1895A_Length
           
BritishYardBenoit1895B_Length
           
BritishYardSears1922_Length
           
BritishYardSears1922Truncated_Length
           
CentesimalMinute_Angle
           
CentesimalSecond_Angle
           
Chain_Length
           
ClarkesChain_Length
           
ClarkesFoot_Length
           
ClarkesLink_Length
           
ClarkesYard_Length
           
Coefficient_Scale
           
Degree_Angle
           
DegreeHemisphere_Angle
           
DegreeMinute_Angle
           
DegreeMinuteHemisphere_Angle
           
DegreeMinuteSecond_Angle
           
DegreeMinuteSecondHemisphere_Angle
           
DegreeSupplierToDefineRepresentation_Angle
           
Fathom_Length
           
Foot_Length
           
GermanLegalMetre_Length
           
GoldCoastFoot_Length
           
Gon_Angle
           
Grad_Angle
           
HemisphereDegree_Angle
           
HemisphereDegreeMinute_Angle
           
HemisphereDegreeMinuteSecond_Angle
           
Hertz_Frequency
           
Hour_Time
           
IndianFoot_Length
           
IndianFoot1937_Length
           
IndianFoot1962_Length
           
IndianFoot1975_Length
           
IndianYard_Length
           
IndianYard1937_Length
           
IndianYard1962_Length
           
IndianYard1975_Length
           
Kilogram_Mass
           
Kilometre_Length
           
Knot_Speed
           
Link_Length
           
Metre_Length
           
Microradian_Angle
           
Mil6400_Angle
           
Millimeter_Length
           
Minute_Time
           
NauticalMile_Length
           
NauticalMilePerHour_Speed
           
PartsPerMillion_Scale
           
Radian_Angle
           
Second_Time
           
SexagesimalDm_Angle
           
SexagesimalDms_Angle
           
SexagesimalDmsS_Angle
           
StatuteMile_Length
           
Tonne_Mass
           
Unitless_Void
           
Unity_Scale
           
UsSurveyChain_Length
           
UsSurveyFoot_Length
           
UsSurveyLink_Length
           
UsSurveyMile_Length
           
Yard_Length
           
 
Method Summary
 double convertFrom(double value, ENCUnit type)
           
 double convertTo(double value, ENCUnit type)
           
static ENCUnit getInstance(int gid)
           
static ENCUnit read(java.io.DataInput fin)
           
static ENCUnit valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ENCUnit[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
static void write(java.io.DataOutputStream fout, ENCUnit unit)
           
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Metre_Length

public static final ENCUnit Metre_Length

Foot_Length

public static final ENCUnit Foot_Length

UsSurveyFoot_Length

public static final ENCUnit UsSurveyFoot_Length

ClarkesFoot_Length

public static final ENCUnit ClarkesFoot_Length

Fathom_Length

public static final ENCUnit Fathom_Length

NauticalMile_Length

public static final ENCUnit NauticalMile_Length

GermanLegalMetre_Length

public static final ENCUnit GermanLegalMetre_Length

UsSurveyChain_Length

public static final ENCUnit UsSurveyChain_Length

UsSurveyLink_Length

public static final ENCUnit UsSurveyLink_Length

UsSurveyMile_Length

public static final ENCUnit UsSurveyMile_Length

Kilometre_Length

public static final ENCUnit Kilometre_Length

ClarkesYard_Length

public static final ENCUnit ClarkesYard_Length

ClarkesChain_Length

public static final ENCUnit ClarkesChain_Length

ClarkesLink_Length

public static final ENCUnit ClarkesLink_Length

BritishYardSears1922_Length

public static final ENCUnit BritishYardSears1922_Length

BritishFootSears1922_Length

public static final ENCUnit BritishFootSears1922_Length

BritishChainSears1922_Length

public static final ENCUnit BritishChainSears1922_Length

BritishLinkSears1922_Length

public static final ENCUnit BritishLinkSears1922_Length

BritishYardBenoit1895A_Length

public static final ENCUnit BritishYardBenoit1895A_Length

BritishFootBenoit1895A_Length

public static final ENCUnit BritishFootBenoit1895A_Length

BritishChainBenoit1895A_Length

public static final ENCUnit BritishChainBenoit1895A_Length

BritishLinkBenoit1895A_Length

public static final ENCUnit BritishLinkBenoit1895A_Length

BritishYardBenoit1895B_Length

public static final ENCUnit BritishYardBenoit1895B_Length

BritishFootBenoit1895B_Length

public static final ENCUnit BritishFootBenoit1895B_Length

BritishChainBenoit1895B_Length

public static final ENCUnit BritishChainBenoit1895B_Length

BritishLinkBenoit1895B_Length

public static final ENCUnit BritishLinkBenoit1895B_Length

BritishFoot1865_Length

public static final ENCUnit BritishFoot1865_Length

IndianFoot_Length

public static final ENCUnit IndianFoot_Length

IndianFoot1937_Length

public static final ENCUnit IndianFoot1937_Length

IndianFoot1962_Length

public static final ENCUnit IndianFoot1962_Length

IndianFoot1975_Length

public static final ENCUnit IndianFoot1975_Length

IndianYard_Length

public static final ENCUnit IndianYard_Length

IndianYard1937_Length

public static final ENCUnit IndianYard1937_Length

IndianYard1962_Length

public static final ENCUnit IndianYard1962_Length

IndianYard1975_Length

public static final ENCUnit IndianYard1975_Length

StatuteMile_Length

public static final ENCUnit StatuteMile_Length

GoldCoastFoot_Length

public static final ENCUnit GoldCoastFoot_Length

BritishFoot1936_Length

public static final ENCUnit BritishFoot1936_Length

Yard_Length

public static final ENCUnit Yard_Length

Chain_Length

public static final ENCUnit Chain_Length

Link_Length

public static final ENCUnit Link_Length

BritishYardSears1922Truncated_Length

public static final ENCUnit BritishYardSears1922Truncated_Length

Radian_Angle

public static final ENCUnit Radian_Angle

Degree_Angle

public static final ENCUnit Degree_Angle

ArcMinute_Angle

public static final ENCUnit ArcMinute_Angle

ArcSecond_Angle

public static final ENCUnit ArcSecond_Angle

Grad_Angle

public static final ENCUnit Grad_Angle

Gon_Angle

public static final ENCUnit Gon_Angle

DegreeMinuteSecond_Angle

public static final ENCUnit DegreeMinuteSecond_Angle

DegreeMinuteSecondHemisphere_Angle

public static final ENCUnit DegreeMinuteSecondHemisphere_Angle

Microradian_Angle

public static final ENCUnit Microradian_Angle

SexagesimalDms_Angle

public static final ENCUnit SexagesimalDms_Angle

SexagesimalDm_Angle

public static final ENCUnit SexagesimalDm_Angle

CentesimalMinute_Angle

public static final ENCUnit CentesimalMinute_Angle

CentesimalSecond_Angle

public static final ENCUnit CentesimalSecond_Angle

Mil6400_Angle

public static final ENCUnit Mil6400_Angle

DegreeMinute_Angle

public static final ENCUnit DegreeMinute_Angle

DegreeHemisphere_Angle

public static final ENCUnit DegreeHemisphere_Angle

HemisphereDegree_Angle

public static final ENCUnit HemisphereDegree_Angle

DegreeMinuteHemisphere_Angle

public static final ENCUnit DegreeMinuteHemisphere_Angle

HemisphereDegreeMinute_Angle

public static final ENCUnit HemisphereDegreeMinute_Angle

HemisphereDegreeMinuteSecond_Angle

public static final ENCUnit HemisphereDegreeMinuteSecond_Angle

SexagesimalDmsS_Angle

public static final ENCUnit SexagesimalDmsS_Angle

DegreeSupplierToDefineRepresentation_Angle

public static final ENCUnit DegreeSupplierToDefineRepresentation_Angle

Unity_Scale

public static final ENCUnit Unity_Scale

PartsPerMillion_Scale

public static final ENCUnit PartsPerMillion_Scale

Coefficient_Scale

public static final ENCUnit Coefficient_Scale

BinWidth330UsSurveyFeet_Length

public static final ENCUnit BinWidth330UsSurveyFeet_Length

BinWidth165UsSurveyFeet_Length

public static final ENCUnit BinWidth165UsSurveyFeet_Length

BinWidth825UsSurveyFeet_Length

public static final ENCUnit BinWidth825UsSurveyFeet_Length

BinWidth375Metres_Length

public static final ENCUnit BinWidth375Metres_Length

BinWidth25Metres_Length

public static final ENCUnit BinWidth25Metres_Length

BinWidth125Metres_Length

public static final ENCUnit BinWidth125Metres_Length

BinWidth625Metres_Length

public static final ENCUnit BinWidth625Metres_Length

BinWidth3125Metres_Length

public static final ENCUnit BinWidth3125Metres_Length

BritishFootSears1922Truncated_Length

public static final ENCUnit BritishFootSears1922Truncated_Length

BritishChainSears1922Truncated_Length

public static final ENCUnit BritishChainSears1922Truncated_Length

BritishLinkSears1922Truncated_Length

public static final ENCUnit BritishLinkSears1922Truncated_Length

Unitless_Void

public static final ENCUnit Unitless_Void

Millimeter_Length

public static final ENCUnit Millimeter_Length

NauticalMilePerHour_Speed

public static final ENCUnit NauticalMilePerHour_Speed

Knot_Speed

public static final ENCUnit Knot_Speed

Kilogram_Mass

public static final ENCUnit Kilogram_Mass

Tonne_Mass

public static final ENCUnit Tonne_Mass

Hertz_Frequency

public static final ENCUnit Hertz_Frequency

Second_Time

public static final ENCUnit Second_Time

Minute_Time

public static final ENCUnit Minute_Time

Hour_Time

public static final ENCUnit Hour_Time
Method Detail

values

public static ENCUnit[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ENCUnit c : ENCUnit.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ENCUnit valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getInstance

public static ENCUnit getInstance(int gid)

read

public static ENCUnit read(java.io.DataInput fin)
                    throws java.io.IOException
Throws:
java.io.IOException

write

public static void write(java.io.DataOutputStream fout,
                         ENCUnit unit)
                  throws java.io.IOException
Throws:
java.io.IOException

convertTo

public double convertTo(double value,
                        ENCUnit type)
                 throws java.lang.Exception
Throws:
java.lang.Exception

convertFrom

public double convertFrom(double value,
                          ENCUnit type)
                   throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2012 Metron, Inc.. All Rights Reserved.