|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectSimpleIdentifiedObject
SimpleAxis
public class SimpleAxis
A CoordinateSystemAxis defined by conventional symbols.
This implementation infers some axis properties from the
abbreviation, as documented in the following table:
Symbol Common name Axis direction Unit Range Meaning λ geodetic longitude EASTNonSI.DEGREE_ANGLE±90° EXACTφ geodetic latitude NORTHNonSI.DEGREE_ANGLE±180° WRAPAROUNDh ellipsoidal height UPSI.METREH gravity-related height UPSI.METREd depth DOWNSI.METREr geocentric radius UPSI.METRE[0…∞] Ω spherical longitude EASTNonSI.DEGREE_ANGLE±90° EXACTΘ spherical latitude NORTHNonSI.DEGREE_ANGLE±180° WRAPAROUNDX geocentric X GEOCENTRIC_XSI.METREY geocentric Y GEOCENTRIC_YSI.METREZ geocentric Z GEOCENTRIC_ZSI.METREE easting EASTSI.METREW westing WESTSI.METREN northing NORTHSI.METRES southing SOUTHSI.METREt time FUTURESI.SECONDi column COLUMN_POSITIVEUnit.ONEj row ROW_POSITIVEUnit.ONE
| Field Summary | |
|---|---|
protected char |
abbreviation
The abbreviation used for this coordinate system axes. |
protected AxisDirection |
direction
Direction of this coordinate system axis. |
static CoordinateSystemAxis |
LATITUDE
The geodetic latitude axis. |
static CoordinateSystemAxis |
LONGITUDE
The geodetic longitude axis. |
protected Unit<?> |
unit
The unit of measure used for this coordinate system axis. |
| Fields inherited from class SimpleIdentifiedObject |
|---|
authority, code |
| Fields inherited from interface IdentifiedObject |
|---|
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY |
| Fields inherited from interface ReferenceIdentifier |
|---|
CODESPACE_KEY, VERSION_KEY |
| Fields inherited from interface Identifier |
|---|
AUTHORITY_KEY, CODE_KEY |
| Constructor Summary | |
|---|---|
SimpleAxis(Citation authority,
String name,
char abbreviation)
Creates a new axis for the given authority, name and abbreviation. |
|
SimpleAxis(Citation authority,
String name,
char abbreviation,
AxisDirection direction,
Unit<?> unit)
Creates a new axis for the given authority, name, units and direction. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
Compares this axis with the given object for equality. |
String |
getAbbreviation()
The abbreviation used for this coordinate system axes. |
AxisDirection |
getDirection()
Direction of this coordinate system axis. |
double |
getMaximumValue()
Returns the maximum value normally allowed for this axis, in the unit of measure for the axis. |
double |
getMinimumValue()
Returns the minimum value normally allowed for this axis, in the unit of measure for the axis. |
RangeMeaning |
getRangeMeaning()
Returns the meaning of axis value range specified by the minimum and maximum values. |
Unit<?> |
getUnit()
The unit of measure used for this coordinate system axis. |
| Methods inherited from class SimpleIdentifiedObject |
|---|
getAlias, getAuthority, getCode, getCodeSpace, getDomainOfValidity, getIdentifiers, getName, getRemarks, getScope, getVersion, hashCode, toString, toWKT |
| Methods inherited from class Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface IdentifiedObject |
|---|
getAlias, getIdentifiers, getName, getRemarks, toWKT |
| Field Detail |
|---|
public static final CoordinateSystemAxis LATITUDE
public static final CoordinateSystemAxis LONGITUDE
protected final char abbreviation
getAbbreviation()protected final AxisDirection direction
getDirection()protected final Unit<?> unit
getUnit()| Constructor Detail |
|---|
public SimpleAxis(Citation authority,
String name,
char abbreviation)
throws IllegalArgumentException
authority - Organization responsible for definition of the name, or null.name - The name of the new axis.abbreviation - The abbreviation used for this coordinate system axes.
IllegalArgumentException - If the abbreviation is not one of the documented ones.
public SimpleAxis(Citation authority,
String name,
char abbreviation,
AxisDirection direction,
Unit<?> unit)
authority - Organization responsible for definition of the name, or null.name - The name of the new axis.abbreviation - The abbreviation used for this coordinate system axes.direction - Direction of this coordinate system axis.unit - The unit of measure used for this coordinate system axis.| Method Detail |
|---|
public String getAbbreviation()
getAbbreviation in interface CoordinateSystemAxispublic AxisDirection getDirection()
getDirection in interface CoordinateSystemAxispublic double getMinimumValue()
NEGATIVE_INFINITY for all other abbreviations
getMinimumValue in interface CoordinateSystemAxispublic double getMaximumValue()
POSITIVE_INFINITY for all other abbreviations
getMaximumValue in interface CoordinateSystemAxispublic RangeMeaning getRangeMeaning()
EXACT for φ and ΘWRAPAROUND for λ and Ωnull for all other abbreviations
getRangeMeaning in interface CoordinateSystemAxispublic Unit<?> getUnit()
getUnit in interface CoordinateSystemAxispublic boolean equals(Object object)
equals in class SimpleIdentifiedObjectobject - The object to compare with this SimpleCRS.
true if the given object is equals to this object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||