|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.crs.CRSIdentifiable
org.deegree.crs.components.Axis
public class Axis
The Axis class describe the orientation, unit and the name of a crs-axis.
| Field Summary | |
|---|---|
static int |
AO_BACK
Axis is pointing BACK ( == -FRONT) e.g. the Axis through the intersection of the opposite of the Greenwich meridian and equator. |
static int |
AO_DOWN
Axis is pointing DOWN ( == -UP) |
static int |
AO_EAST
Axis is pointing EAST( == -WEST) the intersection of the equator with longitude 90°E. |
static int |
AO_FRONT
Axis is pointing FRONT( == -BACK), e.g. the Axis through the intersection of the Greenwich meridian and equator. |
static int |
AO_NORTH
Axis is pointing NORTH ( == -SOUTH) e.g Polar axis positive northwards. |
static int |
AO_OTHER
Axis is pointing in an OTHER direction, which is not specified. |
static int |
AO_PERPENDICULAR
Axis is pointing PERPENDICULAR to the earth's surface, which is used for a vertical axis. |
static int |
AO_SOUTH
Axis is pointing SOUTH ( == -NORTH ) |
static int |
AO_UP
Axis is pointing UP ( == -DOWN ), |
static int |
AO_WEST
Axis is pointing WEST( == -EAST) |
| Constructor Summary | |
|---|---|
Axis(String name,
int orientation)
An Axis with unit set to metre. |
|
Axis(String name,
String orientation)
Parses the given orientation and creates a valid orientation of it's non-case-sensitive version. |
|
Axis(Unit units,
String axisName,
int orientation)
|
|
Axis(Unit units,
String axisName,
String orientation)
Parses the given orientation and creates a valid orientation of it's non-case-sensitive version. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object otherAxis)
|
int |
getOrientation()
|
String |
getOrientationAsString()
|
Unit |
getUnits()
|
int |
hashCode()
Implementation as proposed by Joshua Block in Effective Java (Addison-Wesley 2001), which supplies an even distribution and is relatively fast. |
String |
toString()
|
| Methods inherited from class org.deegree.crs.CRSIdentifiable |
|---|
addAreaOfUse, addName, checkForNullObject, checkForNullObject, checkForNullObject, getAreaOfUse, getAreaOfUseBBox, getAreasOfUse, getCode, getCodeAndName, getCodes, getDescription, getDescriptions, getName, getNames, getOrignalCodeStrings, getVersion, getVersions, hasCode, hasId, hasIdOrName, setDefaultAreaOfUse, setDefaultDescription, setDefaultId, setDefaultName, setDefaultVersion |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int AO_NORTH
public static final int AO_SOUTH
public static final int AO_WEST
public static final int AO_EAST
public static final int AO_UP
public static final int AO_DOWN
public static final int AO_FRONT
public static final int AO_BACK
public static final int AO_PERPENDICULAR
public static final int AO_OTHER
| Constructor Detail |
|---|
public Axis(Unit units,
String axisName,
int orientation)
units - of this axisaxisName - of this axis (e.g. longitude...)orientation - of the positive scale direction, one of Axis.AO*. If an unknown value is supplied AO_OTHER is assumed.
public Axis(Unit units,
String axisName,
String orientation)
AO_OTHER will be used.
units - of the axis.axisName - of the axis.orientation - of the axis as a string for example north
public Axis(String name,
int orientation)
name - of this axis (e.g. longitude...)orientation - of the positive scale direction, one of Axis.AO*. If an unknown value is supplied AO_OTHER is assumed.
public Axis(String name,
String orientation)
AO_OTHER will be used. This axis will have metres as it's unit.
name - of the axisorientation - of the axis as a string for example north| Method Detail |
|---|
public final int getOrientation()
public final Unit getUnits()
public String toString()
toString in class CRSIdentifiablepublic boolean equals(Object otherAxis)
equals in class CRSIdentifiablepublic int hashCode()
Combining the hash code(s) computed above: result = 37 * result + code;
hashCode in class ObjectObject.hashCode()public String getOrientationAsString()
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||