public class Axis extends Object
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.
| Modifier and Type | Class and Description |
|---|---|
static class |
Axis.Direction
Axis different directions.
|
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
Axis(String name,
Axis.Direction dir)
Create a new Axis.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
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,…).
|
int |
hashCode() |
String |
toString()
Return a String representation of this Axis.
|
String |
toWKT()
Returns a WKT representation of the axis.
|
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
public Axis(String name, Axis.Direction dir)
name - name of this new Axisdir - the direction of the axis (EAST, NORTH, UP, DOWN,…)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()
Copyright © 2019 CNRS. All rights reserved.