Modifier | Constructor and Description |
---|---|
|
C2D()
Constructs an empty instance
|
protected |
C2D(double... coords) |
|
C2D(double x,
double y)
Constructs an instance with the specified x (EASTING or WESTING) or y (NORTHING or SOUTHING) coordinates
CoordinateReferenceSystem , the |
Modifier and Type | Method and Description |
---|---|
int |
getCoordinateDimension() |
double |
getX()
Returns the coordinate for EAST (WEST) axis direction
|
double |
getY()
Returns the coordinate for NORTH (SOUTH) axis direction
|
equals, getCoordinate, getCoordinate, hashCode, isEmpty, toArray, toString
public C2D()
public C2D(double x, double y)
CoordinateReferenceSystem
, the x
- coordinate for axis in EAST or WEST directiony
- coordinate for axis in NORTH or SOUTH directionprotected C2D(double... coords)
public int getCoordinateDimension()
getCoordinateDimension
in class Position
public double getX()
public double getY()
Copyright © 2015 geolatte.org. All rights reserved.