public class TLcdTransverseMercatorSPCS extends ALcdTransverseCylindrical
The transverse Mercator projection is an adaptation of the Mercator projection.
In the transverse Mercator, the cylinder is rotated 90° (transverse) relative to the equator
so that the projected surface is aligned to a central meridian rather than to the equator.
This projection used for the United States State Plane Coordinate System
(SPCS).
true
along the central meridian.
ILcdProjection projection =
new TLcdTransverseMercatorSPCS(-50.0);
The equations of the transverse mercator projection are taken from [Snyder1987].
TLcdTransverseMercator
,
Serialized FormfPropertyChangeDispatcher
EPSILON
Constructor and Description |
---|
TLcdTransverseMercatorSPCS()
Deprecated.
Constructs a transverse mercator projection with the origin of the projection
at (0.0,0.0).
|
TLcdTransverseMercatorSPCS(double aCentralMeridian)
Deprecated.
Constructs a transverse mercator projection with the origin of the projection
at the specified central meridian and a latitude of origin at zero.
|
TLcdTransverseMercatorSPCS(double aCentralMeridian,
double aOriginLat)
Deprecated.
Constructs a transverse mercator projection with the origin of the projection
at the specified central meridian and latitude of origin.
|
Modifier and Type | Method and Description |
---|---|
double[][] |
boundaryLats(double lon)
Deprecated.
Default implementation.
|
double[][] |
boundaryLons(double lat)
Deprecated.
Default implementation.
|
Object |
clone()
Deprecated.
Makes a deep clone of this
ILcdProjection . |
boolean |
inLonLatBounds(ILcdPoint aLLP)
Deprecated.
Checks if an
ILcdPoint is inside the valid area of geodetic
coordinates of the projection. |
boolean |
inWorldBoundsOnSphere(ILcdPoint aXYPoint,
double aRadius)
Deprecated.
Checks if a
ILcdPoint is inside the valid cartesian area of
the projection. |
boolean |
isAllInBounds()
Deprecated.
If all geodetic coordinates (l ,j ) are projected (visible) by an
ILcdProjection
and all (x,y ) coordinates are bounded this is true . |
boolean |
isContinuous()
Deprecated.
An
ILcdProjection is continuous if there are no interruptions
in the world coordinates. |
void |
lonlatheight2worldOnEllipsoidSFCT(ILcdPoint aLLHP,
ILcdEllipsoid aEllipsoid,
ILcd2DEditablePoint aXYPointSFCT)
Deprecated.
Default implementation calls
lonlatheight2worldOnEllipsoidSFCT
with aEllipsoid.getAuxRadius() as sphere radius. |
void |
lonlatheight2worldOnSphereSFCT(ILcdPoint aLLHP,
double aRadius,
ILcd2DEditablePoint aXYPointSFCT)
Deprecated.
For the spherical case the transverse mercator projection is a
simple Gauss-Lambert projection.
|
String |
toString()
Deprecated.
Returns the
String representation of the transverse mercator projection
as listed by Snyder. |
void |
world2DEditableBoundsOnSphereSFCT(double aRadius,
ILcd2DEditableBounds aWorldBounds)
Deprecated.
Sets the
ILcd2DEditableBounds object to the bounds of the projection
in world coordinates. |
void |
world2lonlatOnEllipsoidSFCT(ILcdPoint aXYPoint,
ILcdEllipsoid aEllipsoid,
ILcd2DEditablePoint aLLPSFCT)
Deprecated.
Default implementation calls
world2lonlatOnSphereSFCT with
aEllipsoid.getAuxRadius() as sphere radius. |
void |
world2lonlatOnSphereSFCT(ILcdPoint aXYPoint,
double aRadius,
ILcd2DEditablePoint aLLPSFCT)
Deprecated.
Transforms an
ILcdPoint from the cartesian coordinate system
of the projection into an ILcd2DEditablePoint onto a sphere. |
calculateCachedValues, equals, getCentralMeridian, getOrigin, getOriginLat, hashCode, loadProperties, setCentralMeridian, setOriginLat, writePropertiesSFCT
addPropertyChangeListener, firePropertyChangeEvent, inWorldBoundsOnEllipsoid, removePropertyChangeListener, world2DEditableBoundsOnEllipsoidSFCT
finalize, getClass, notify, notifyAll, wait, wait, wait
inWorldBoundsOnEllipsoid, world2DEditableBoundsOnEllipsoidSFCT
addPropertyChangeListener, removePropertyChangeListener
public TLcdTransverseMercatorSPCS()
public TLcdTransverseMercatorSPCS(double aCentralMeridian)
aCentralMeridian
- the centralMeridian of the projection.public TLcdTransverseMercatorSPCS(double aCentralMeridian, double aOriginLat)
aCentralMeridian
- the centralMeridian of the projection.aOriginLat
- the latitude of origin of the projectionpublic void lonlatheight2worldOnSphereSFCT(ILcdPoint aLLHP, double aRadius, ILcd2DEditablePoint aXYPointSFCT) throws TLcdOutOfBoundsException
aLLHP
- point to be projected.aRadius
- radius of the sphere (meters).aXYPointSFCT
- projected point as side effect.TLcdOutOfBoundsException
- aLLHP
is outside the area valid for this projection.public void lonlatheight2worldOnEllipsoidSFCT(ILcdPoint aLLHP, ILcdEllipsoid aEllipsoid, ILcd2DEditablePoint aXYPointSFCT) throws TLcdOutOfBoundsException
ALcdProjection
lonlatheight2worldOnEllipsoidSFCT
with aEllipsoid.getAuxRadius()
as sphere radius.lonlatheight2worldOnEllipsoidSFCT
in interface ILcdProjection
lonlatheight2worldOnEllipsoidSFCT
in class ALcdProjection
aLLHP
- point to be projected.aEllipsoid
- ellipsoid on which the point is defined.aXYPointSFCT
- projected point as side effect.TLcdOutOfBoundsException
- aLLHP
is outside the area valid for this projection.public void world2lonlatOnSphereSFCT(ILcdPoint aXYPoint, double aRadius, ILcd2DEditablePoint aLLPSFCT) throws TLcdOutOfBoundsException
ILcdProjection
ILcdPoint
from the cartesian coordinate system
of the projection into an ILcd2DEditablePoint
onto a sphere.aXYPoint
- projected point for which the corresponding geodetic point is sought.aRadius
- radius of the sphere (meters).aLLPSFCT
- resulting geodetic coordinate as side effect.TLcdOutOfBoundsException
- aXYPoint
is outside the area valid for this projection.public void world2lonlatOnEllipsoidSFCT(ILcdPoint aXYPoint, ILcdEllipsoid aEllipsoid, ILcd2DEditablePoint aLLPSFCT) throws TLcdOutOfBoundsException
ALcdProjection
world2lonlatOnSphereSFCT
with
aEllipsoid.getAuxRadius()
as sphere radius.world2lonlatOnEllipsoidSFCT
in interface ILcdProjection
world2lonlatOnEllipsoidSFCT
in class ALcdProjection
aXYPoint
- projected point for which the corresponding geodetic point is sought.aEllipsoid
- ellipsoid on which the geodetic coordinate is defined.aLLPSFCT
- resulting geodetic coordinate as side effect.TLcdOutOfBoundsException
- aXYPoint
is outside the area valid for this projection.public boolean isAllInBounds()
ILcdProjection
ILcdProjection
and all (x,y ) coordinates are bounded this is true
.
All ILcdProjection
objects have bounded (x,y )
coordinates because the projection is cut off if necessary.true
if all LonLatPoints are within the bounds of
the projection, false
otherwise.public boolean isContinuous()
ILcdProjection
ILcdProjection
is continuous if there are no interruptions
in the world coordinates. Most projections are continuous.isContinuous
in interface ILcdProjection
isContinuous
in class ALcdTransverseCylindrical
true
if the projection is continuous,
false
otherwise.public boolean inLonLatBounds(ILcdPoint aLLP)
ILcdProjection
ILcdPoint
is inside the valid area of geodetic
coordinates of the projection. The valid area is determined by the
LonLatPoints that are visible and for which the corresponding cartesian
coordinate is within the boundaries.aLLP
- ILcdPoint
to be checked upon.true
if valid, false
if invalid.public double[][] boundaryLons(double lat)
ALcdProjection
boundaryLons
in interface ILcdProjection
boundaryLons
in class ALcdProjection
lat
- latitude in decimal degrees and -90.0 <= aLat
<= 90.0.public double[][] boundaryLats(double lon)
ALcdProjection
boundaryLats
in interface ILcdProjection
boundaryLats
in class ALcdProjection
lon
- longitude in decimal degrees -180.0 <= lon <= 180.0 .public void world2DEditableBoundsOnSphereSFCT(double aRadius, ILcd2DEditableBounds aWorldBounds)
ILcdProjection
ILcd2DEditableBounds
object to the bounds of the projection
in world coordinates.aRadius
- radius of the sphere.aWorldBounds
- the bounds of the projection in world coordinates as side effect.public boolean inWorldBoundsOnSphere(ILcdPoint aXYPoint, double aRadius)
ILcdProjection
ILcdPoint
is inside the valid cartesian area of
the projection. The valid cartesian area is determined naturally by the
projection bounds or by an artificial introduced boundary limit because
some cartesian points are at infinity. The shape of the valid cartesian
area is in many cases rectangular or circular although it might be more
complex.aXYPoint
- point to be checked upon.aRadius
- radius of the sphere.true
if valid, false
if invalid.public Object clone()
ILcdProjection
ILcdProjection
.clone
in interface ILcdProjection
clone
in class ALcdTransverseCylindrical
ILcdProjection
.public String toString()
String
representation of the transverse mercator projection
as listed by Snyder.toString
in interface ILcdProjection
toString
in class Object
String
representation of the transverse mercator projection
as listed by Snyder.