|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jeospace.measure.LengthUnit
Constant object identifiers for the units of linear
measure as represented by Length objects.
For reference see:
http://ts.nist.gov/ts/htdocs/230/235/h4402/appenc.pdf
which contains values and conversion factors for many non-SI forms of measurement.
http://www.unc.edu/~rowlett/units/index.html
which contains values and anecdotal information on many forms of measurement
Length| Field Summary | |
static LengthUnit |
AU
Constant identifier for astronomical units. |
static LengthUnit |
FOOT
Constant identifier for units of feet. |
static LengthUnit |
INCH
Constant identifier for units of inches. |
static LengthUnit |
LIGHTSECOND
Constant identifier for units of lightseconds. |
static LengthUnit |
LIGHTYEAR
Constant identifier for units of lightyears. |
static LengthUnit |
METER
Constant identifier for units of meters. |
double |
meters
The value of the unit of length in SI units (meters) |
static LengthUnit |
MILE
Constant identifier for units of miles. |
java.lang.String |
name
The name of the unit of length |
static LengthUnit |
NAUTICAL_MILE
Constant identifier for units of nautical miles. |
static LengthUnit |
PARSEC
Constant identifier for units of parsecs. |
java.lang.String |
symbol
The symbol of the unit of length |
static LengthUnit |
YARD
Constant identifier for units of yards. |
| Constructor Summary | |
protected |
LengthUnit(java.lang.String name,
java.lang.String symbol,
double meters)
Construct a LengthUnit object. |
| Method Summary | |
static LengthUnit[] |
getLengthUnits()
Return an array of the defined LengthUnit objects |
java.lang.String |
toString()
Return a String representation ( the name String ) of this LengthUnit object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final LengthUnit METER
public static final LengthUnit INCH
public static final LengthUnit FOOT
public static final LengthUnit YARD
public static final LengthUnit MILE
public static final LengthUnit NAUTICAL_MILE
public static final LengthUnit LIGHTSECOND
public static final LengthUnit LIGHTYEAR
public static final LengthUnit AU
public static final LengthUnit PARSEC
public final java.lang.String name
public final java.lang.String symbol
public final double meters
| Constructor Detail |
protected LengthUnit(java.lang.String name,
java.lang.String symbol,
double meters)
LengthUnit object.
name - the unit of length's identifiersymbol - the unit of length's symbolmeters - the unit of length's value in meters| Method Detail |
public static LengthUnit[] getLengthUnits()
LengthUnit objects
LengthUnit objectspublic java.lang.String toString()
LengthUnit object.
LengthUnit object
|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||