|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cts.cs.Axis
public class Axis
One of the fixed reference lines of a CoordinateSystem.
Usually, axis is a term reserved to cartesian coordinate systems made of several perpendicular axis. In the context of this library, Axis objects are used for any kind of coordinate system, including vertical and ellipsoidal ones.
| Nested Class Summary | |
|---|---|
static class |
Axis.Direction
Axis different directions. |
| Field Summary | |
|---|---|
static Axis |
ALTITUDE
Altitude axis. |
static Axis |
DEPTH
Depth axis. |
static Axis |
EASTING
Easting axis. |
static Axis |
HEIGHT
Height axis. |
static Axis |
LATITUDE
Latitude axis. |
static Axis |
LONGITUDE
Longitude axis. |
static Axis |
NORTHING
Northing axis. |
static Axis |
SOUTHING
Southing axis. |
static Axis |
TIME
Time axis. |
static Axis |
WESTING
Westing axis. |
static Axis |
x
x axis. |
static Axis |
X
X axis. |
static Axis |
y
y axis. |
static Axis |
Y
Y axis. |
static Axis |
Z
Z axis. |
| Constructor Summary | |
|---|---|
Axis(String name,
Axis.Direction dir)
Create a new Axis. |
|
| Method Summary | |
|---|---|
static Axis |
getAxis(Axis.Direction dir,
String name)
|
Axis.Direction |
getDirection()
Return the direction of this Axis (NORTH, SOUTH, EAST, WEST or OTHER). |
static Axis.Direction |
getDirection(String dir)
Return the direction correpsonding to the string in parameter. |
String |
getName()
Return the name of this Axis (X, Y, Z, LONGITUDE, ALTITUDE,…). |
String |
toString()
Return a String representation of this Axis. |
String |
toWKT()
Returns a WKT representation of the axis. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Axis EASTING
public static final Axis NORTHING
public static final Axis WESTING
public static final Axis SOUTHING
public static final Axis x
public static final Axis y
public static final Axis ALTITUDE
public static final Axis DEPTH
public static final Axis LATITUDE
public static final Axis LONGITUDE
public static final Axis HEIGHT
public static final Axis X
public static final Axis Y
public static final Axis Z
public static final Axis TIME
| Constructor Detail |
|---|
public Axis(String name,
Axis.Direction dir)
name - name of this new Axisdir - the direction of the axis (EAST, NORTH, UP, DOWN,…)| Method Detail |
|---|
public static Axis getAxis(Axis.Direction dir,
String name)
public String getName()
public Axis.Direction getDirection()
public static Axis.Direction getDirection(String dir)
dir - the name of the directionpublic String toWKT()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||