public class CoordinateSystem
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
swigCMemOwn |
| Constructor and Description |
|---|
CoordinateSystem() |
CoordinateSystem(CoordinateSystem crs) |
CoordinateSystem(long cPtr,
boolean cMemoryOwn) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
addGeoid(java.lang.String path)
Register geoid model.
|
static Matrix4x4d |
datumTransform(CoordinateSystem source,
CoordinateSystem target)
Coordinate transformation from source to target coordinate system datum.
|
void |
delete() |
protected void |
finalize() |
java.lang.String |
getAuthority()
Authority identifier of the coordinate system.
|
static long |
getCPtr(CoordinateSystem obj) |
java.lang.String |
getProj4()
Coordinate system definition in PROJ.4 format.
|
java.lang.String |
getWkt()
Coordinate system definition in WKT format.
|
boolean |
init(java.lang.String wkt)
Initialize projection based on specified WKT definition or authority identifier.
|
Matrix4x4d |
localframe(Vector3d point)
Returns 4x4 transformation matrix to LSE coordinates at the given point.
|
CoordinateSystem |
makeGeocentric()
Construct geocentric coordinate system using coordinate system datum.
|
CoordinateSystem |
makeGeographic()
Construct geographic coordinate system using coordinate system datum.
|
Vector3d |
project(Vector3d point)
Projects point from geocentric coordinates to projected geographic coordinate system.
|
static Vector3d |
transform(Vector3d point,
CoordinateSystem source,
CoordinateSystem target)
Transform point coordinates between coordinate systems.
|
static Matrix4x4d |
transformationMatrix(Vector3d point,
CoordinateSystem source,
CoordinateSystem target)
Local approximation of coordinate transformation from source to target coordinate system at the given point.
|
Vector3d |
unproject(Vector3d point)
Unprojects point from projected coordinates to geocentric coordinates.
|
public CoordinateSystem(long cPtr,
boolean cMemoryOwn)
public CoordinateSystem()
public CoordinateSystem(CoordinateSystem crs)
public static long getCPtr(CoordinateSystem obj)
protected void finalize()
finalize in class java.lang.Objectpublic void delete()
public java.lang.String getAuthority()
public java.lang.String getWkt()
public java.lang.String getProj4()
public boolean init(java.lang.String wkt)
wkt - WKT definition of coordinate system or authority identifier.public Vector3d project(Vector3d point)
point - 3D point in geocentric coordinates.public Vector3d unproject(Vector3d point)
point - 3D point in projected coordinate system.public Matrix4x4d localframe(Vector3d point)
point - Coordinates of the origin in the geocentric coordinates.public CoordinateSystem makeGeographic()
public CoordinateSystem makeGeocentric()
public static Matrix4x4d datumTransform(CoordinateSystem source, CoordinateSystem target)
source - Source coordinate system.target - Target coordinate system.public static Vector3d transform(Vector3d point, CoordinateSystem source, CoordinateSystem target)
point - Point coordinates.source - Source coordinate system.target - Target coordinate system.public static Matrix4x4d transformationMatrix(Vector3d point, CoordinateSystem source, CoordinateSystem target)
point - Point coordinates.source - Source coordinate system.target - Target coordinate system.public static boolean addGeoid(java.lang.String path)
path - Path to geoid file.