|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cts.IdentifiableComponent
org.cts.op.AbstractCoordinateOperation
org.cts.op.projection.Projection
org.cts.op.projection.UniversalTransverseMercator
public class UniversalTransverseMercator
The Universal Transverse Mercator Projection (UTM).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.cts.op.projection.Projection |
|---|
Projection.Orientation, Projection.Property, Projection.Surface |
| Field Summary | |
|---|---|
protected double[] |
dircoeff
|
protected double |
FE
|
protected double[] |
invcoeff
|
protected double |
lon0
|
protected double |
n
|
static Identifier |
UTM
The Identifier used for all Universal Transverse Mercator projections. |
protected double |
xs
|
protected double |
ys
|
| Fields inherited from class org.cts.op.projection.Projection |
|---|
DEFAULT_PARAMETERS |
| Fields inherited from class org.cts.op.AbstractCoordinateOperation |
|---|
precision |
| Fields inherited from interface org.cts.Identifiable |
|---|
DEFAULT, LOCAL, UNKNOWN |
| Constructor Summary | |
|---|---|
UniversalTransverseMercator(Ellipsoid ellipsoid,
Map<String,Measure> parameters)
Create a new Universal Transverse Mercator Projection corresponding to the Ellipsoid and the list of parameters given in argument and
initialize common parameters lon0, FE and other parameters useful for the
projection. |
|
| Method Summary | |
|---|---|
static double[] |
getDirectUTMCoeff(Ellipsoid ellps)
Return the coefficients for the direct UTM projection associated with the ellipsoid in parameter. |
static double[] |
getInverseUTMCoeff(Ellipsoid ellps)
Return the coefficients for the inverse UTM projection associated with the ellipsoid in parameter. |
Projection.Orientation |
getOrientation()
Return the Orientation of this
Projection. |
Projection.Property |
getProperty()
Return the Property of this
Projection. |
Projection.Surface |
getSurface()
Return the Surface type of this
Projection. |
CoordinateOperation |
inverse()
Creates the inverse CoordinateOperation. |
double[] |
transform(double[] coord)
Transform coord using the Universal Transverse Mercator Projection. |
| Methods inherited from class org.cts.op.projection.Projection |
|---|
equals, getAzimuth, getCentralMeridian, getDefaultParameters, getFalseEasting, getFalseNorthing, getLatitudeOfOrigin, getLatitudeOfTrueScale, getRectifiedGridAngle, getScaleFactor, getSemiMajorAxis, getSemiMinorAxis, getStandardParallel1, getStandardParallel2, hashCode, toWKT |
| Methods inherited from class org.cts.op.AbstractCoordinateOperation |
|---|
getPrecision |
| Methods inherited from class org.cts.IdentifiableComponent |
|---|
addAlias, addRemark, getAliases, getAuthorityKey, getAuthorityName, getCode, getComponent, getIdentifier, getName, getRemarks, getShortName, setIdentifier, setRemarks, setShortName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.cts.Identifiable |
|---|
addAlias, addRemark, getAliases, getAuthorityKey, getAuthorityName, getCode, getName, getRemarks, getShortName, setRemarks, setShortName |
| Field Detail |
|---|
public static final Identifier UTM
protected final double FE
protected final double lon0
protected final double n
protected final double xs
protected final double ys
protected final double[] dircoeff
protected final double[] invcoeff
| Constructor Detail |
|---|
public UniversalTransverseMercator(Ellipsoid ellipsoid,
Map<String,Measure> parameters)
Ellipsoid and the list of parameters given in argument and
initialize common parameters lon0, FE and other parameters useful for the
projection.
ellipsoid - ellipsoid used to define the projection.parameters - a map of useful parameters to define the projection.| Method Detail |
|---|
public static double[] getDirectUTMCoeff(Ellipsoid ellps)
ellps - the projected ellipsoidpublic static double[] getInverseUTMCoeff(Ellipsoid ellps)
ellps - the projected ellipsoid
public double[] transform(double[] coord)
throws CoordinateDimensionException
transform in interface CoordinateOperationtransform in class AbstractCoordinateOperationcoord - coordinate to transform
CoordinateDimensionException - if coord length is not
compatible with this CoordinateOperation.
public CoordinateOperation inverse()
throws NonInvertibleOperationException
inverse in interface CoordinateOperationinverse in class AbstractCoordinateOperationNonInvertibleOperationExceptionpublic Projection.Surface getSurface()
Surface type of this
Projection.
getSurface in class Projectionpublic Projection.Property getProperty()
Property of this
Projection.
getProperty in class Projectionpublic Projection.Orientation getOrientation()
Orientation of this
Projection.
getOrientation in class Projection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||