|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gdal.osr.CoordinateTransformation
public class CoordinateTransformation
Object for transforming between coordinate systems.
The CoordinateTransformation class is a binding for the C++ OGRCoordinateTransformation class.
| Constructor Summary | |
|---|---|
CoordinateTransformation(SpatialReference src,
SpatialReference dst)
Create transformation object. |
|
| Method Summary | |
|---|---|
void |
delete()
|
void |
TransformPoint(double[] inout)
Transform point from source to destination space. |
void |
TransformPoint(double[] argout,
double x,
double y)
Transform point from source to destination space. |
void |
TransformPoint(double[] argout,
double x,
double y,
double z)
Transform point from source to destination space. |
double[] |
TransformPoint(double x,
double y)
Transform point from source to destination space. |
double[] |
TransformPoint(double x,
double y,
double z)
Transform point from source to destination space. |
void |
TransformPoints(double[][] pointArray)
Transform points from source to destination space. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CoordinateTransformation(SpatialReference src,
SpatialReference dst)
Input spatial reference system objects are assigned by copy (calling clone() method) and no ownership transfer occurs.
src - source spatial reference system.dst - target spatial reference system.| Method Detail |
|---|
public void delete()
public double[] TransformPoint(double x,
double y,
double z)
x - input x valuey - input y value
public double[] TransformPoint(double x,
double y)
x - input x valuey - input y value
public void TransformPoint(double[] inout)
The provided array will be modified in place.
inout - an array of 3 doubles
public void TransformPoint(double[] argout,
double x,
double y,
double z)
argout - array of 3 double values where the transformed coordinates will be put.x - input x valuey - input y valuez - input z value
public void TransformPoint(double[] argout,
double x,
double y)
argout - array of 3 double values where the transformed coordinates will be put.x - input x valuey - input y valuepublic void TransformPoints(double[][] pointArray)
The provided array will be modified in place.
pointArray - an array of coordinates. Each coordinate can be either 2D or 3D
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||