public class Projections
extends java.lang.Object
Constructor and Description |
---|
Projections() |
Modifier and Type | Method and Description |
---|---|
static double[][] |
latLonToProj(Projection proj,
double[][] from)
Convert lat/lon coordinates to projection coordinates.
|
static double[][] |
latLonToProj(Projection proj,
double[][] from,
double[][] to)
Convert lat/lon coordinates to projection coordinates.
|
static double[][] |
latLonToProj(Projection proj,
double[][] from,
double[][] to,
int latIndex,
int lonIndex)
Convert lat/lon coordinates to projection coordinates.
|
static double[][] |
latLonToProj(Projection proj,
double[][] from,
int latIndex,
int lonIndex)
Convert lat/lon coordinates to projection coordinates.
|
static float[][] |
latLonToProj(Projection proj,
float[][] from)
Convert lat/lon coordinates to projection coordinates.
|
static float[][] |
latLonToProj(Projection proj,
float[][] from,
float[][] to)
Convert lat/lon coordinates to projection coordinates.
|
static float[][] |
latLonToProj(Projection proj,
float[][] from,
float[][] to,
int latIndex,
int lonIndex)
Convert lat/lon coordinates to projection coordinates.
|
static float[][] |
latLonToProj(Projection proj,
float[][] from,
int latIndex,
int lonIndex)
Convert lat/lon coordinates to projection coordinates.
|
static double[][] |
projToLatLon(Projection proj,
double[][] from)
Convert projection coordinates to lat/lon coordinates.
|
static double[][] |
projToLatLon(Projection proj,
double[][] from,
double[][] to)
Convert projection coordinates to lat/lon coordinate.
|
static float[][] |
projToLatLon(Projection proj,
float[][] from)
Convert projection coordinates to lat/lon coordinates.
|
static float[][] |
projToLatLon(Projection proj,
float[][] from,
float[][] to)
Convert projection coordinates to lat/lon coordinate.
|
public static double[][] latLonToProj(Projection proj, double[][] from)
from
- array of lat/lon coordinates: from[2][n],
where from[0][i], from[1][i] is the (lat,lon)
coordinate of the ith pointpublic static double[][] latLonToProj(Projection proj, double[][] from, double[][] to)
from
- array of lat/lon coordinates: from[2][n], where
(from[0][i], from[1][i]) is the (lat,lon) coordinate
of the ith pointto
- resulting array of projection coordinates: to[2][n]
where (to[0][i], to[1][i]) is the (x,y) coordinate
of the ith pointpublic static double[][] latLonToProj(Projection proj, double[][] from, double[][] to, int latIndex, int lonIndex)
from
- array of lat/lon coordinates: from[2][n], where
(from[latIndex][i], from[lonIndex][i]) is the (lat,lon)
coordinate of the ith pointto
- resulting array of projection coordinates: to[2][n]
where (to[0][i], to[1][i]) is the (x,y) coordinate of
the ith pointlatIndex
- index of lat coordinate; must be 0 or 1lonIndex
- index of lon coordinate; must be 0 or 1public static double[][] latLonToProj(Projection proj, double[][] from, int latIndex, int lonIndex)
from
- array of lat/lon coordinates: from[2][n], where
(from[latIndex][i], from[lonIndex][i]) is the (lat,lon)
coordinate of the ith pointlatIndex
- index of lat coordinate; must be 0 or 1lonIndex
- index of lon coordinate; must be 0 or 1public static float[][] latLonToProj(Projection proj, float[][] from)
from
- array of lat/lon coordinates: from[2][n],
where from[0][i], from[1][i] is the (lat,lon)
coordinate of the ith pointpublic static float[][] latLonToProj(Projection proj, float[][] from, float[][] to)
from
- array of lat/lon coordinates: from[2][n], where
(from[0][i], from[1][i]) is the (lat,lon) coordinate
of the ith pointto
- resulting array of projection coordinates: to[2][n]
where (to[0][i], to[1][i]) is the (x,y) coordinate
of the ith pointpublic static float[][] latLonToProj(Projection proj, float[][] from, float[][] to, int latIndex, int lonIndex)
from
- array of lat/lon coordinates: from[2][n], where
(from[latIndex][i], from[lonIndex][i]) is the (lat,lon)
coordinate of the ith pointto
- resulting array of projection coordinates: to[2][n]
where (to[0][i], to[1][i]) is the (x,y) coordinate of
the ith pointlatIndex
- index of lat coordinate; must be 0 or 1lonIndex
- index of lon coordinate; must be 0 or 1public static float[][] latLonToProj(Projection proj, float[][] from, int latIndex, int lonIndex)
from
- array of lat/lon coordinates: from[2][n], where
(from[latIndex][i], from[lonIndex][i]) is the (lat,lon)
coordinate of the ith pointlatIndex
- index of lat coordinate; must be 0 or 1lonIndex
- index of lon coordinate; must be 0 or 1public static double[][] projToLatLon(Projection proj, double[][] from)
from
- array of projection coordinates: from[2][n],
where from[0][i], from[1][i] is the x, y coordinate
of the ith pointpublic static double[][] projToLatLon(Projection proj, double[][] from, double[][] to)
from
- array of projection coordinates: from[2][n], where
(from[0][i], from[1][i]) is the (x, y) coordinate
of the ith pointto
- resulting array of lat/lon coordinates: to[2][n] where
(to[0][i], to[1][i]) is the (lat, lon) coordinate of
the ith pointpublic static float[][] projToLatLon(Projection proj, float[][] from)
from
- array of projection coordinates: from[2][n],
where from[0][i], from[1][i] is the x, y coordinate
of the ith pointpublic static float[][] projToLatLon(Projection proj, float[][] from, float[][] to)
from
- array of projection coordinates: from[2][n], where
(from[0][i], from[1][i]) is the (x, y) coordinate
of the ith pointto
- resulting array of lat/lon coordinates: to[2][n] where
(to[0][i], to[1][i]) is the (lat, lon) coordinate of
the ith point