public class TLcdDutchStereographic extends ALcdAzimuthal
Azimuthal conformal projection with a projection point opposite the origin of the projection. The projection uses the dutch RD coordinate system and a stereographic projection variant.
true
.
ILcdProjection projection =
new TLcdDutchStereographic(20.0, -30.0);
The equations of the Dutch stereographic projection are taken from [Strang1997].
Polar aspect is not included.
TLcdPolarStereographic
,
Serialized FormfPropertyChangeDispatcher
EPSILON
Constructor and Description |
---|
TLcdDutchStereographic()
Constructs a stereographic projection with the origin at a point
(0,0) . |
TLcdDutchStereographic(double aLongitude,
double aLatitude)
Constructs a stereographic projection with the origin at a point
(aLatitude, aLongitude) . |
TLcdDutchStereographic(ILcdPoint aOrigin)
Constructs a stereographic projection with the origin at an
ILcdPoint aOrigin . |
Modifier and Type | Method and Description |
---|---|
double[][] |
boundaryLats(double lon)
Default implementation.
|
double[][] |
boundaryLons(double lat)
Default implementation.
|
protected void |
calculateCachedValues()
Constants based on the point of origin of the projection don't have to be
recalculated every time a method is called.
|
boolean |
inLonLatBounds(ILcdPoint llp)
Checks if an
ILcdPoint is inside the valid area of geodetic
coordinates of the projection. |
boolean |
inWorldBoundsOnEllipsoid(ILcdPoint aXYPoint,
ILcdEllipsoid aEllipsoid)
Default implementation calls
inWorldBoundsOnSphere with
aEllipsoid.getAuxRadius() as sphere radius. |
boolean |
inWorldBoundsOnSphere(ILcdPoint aXYPoint,
double aRadius)
Checks if a
ILcdPoint is inside the valid cartesian area of
the projection. |
boolean |
isAllInBounds()
If all geodetic coordinates (l ,j ) are projected (visible) by an
ILcdProjection
and all (x,y ) coordinates are bounded this is true . |
void |
lonlatheight2worldOnEllipsoidSFCT(ILcdPoint aLLHP,
ILcdEllipsoid aEllipsoid,
ILcd2DEditablePoint aWorldPoint)
Default implementation calls
lonlatheight2worldOnEllipsoidSFCT
with aEllipsoid.getAuxRadius() as sphere radius. |
void |
lonlatheight2worldOnSphereSFCT(ILcdPoint aLLHP,
double aRadius,
ILcd2DEditablePoint aWorldPoint)
Transforms an
ILcd2DEditablePoint on a sphere into the
cartesian coordinate system of the projection. |
String |
toString()
Returns the
String representation of the Dutch stereographic projection. |
void |
world2DEditableBoundsOnEllipsoidSFCT(ILcdEllipsoid aEllipsoid,
ILcd2DEditableBounds aWorldBoundsSFCT)
Default implementation calls
world2lonlatOnSphereSFCT with
aEllipsoid.getAuxRadius() as sphere radius. |
void |
world2DEditableBoundsOnSphereSFCT(double aRadius,
ILcd2DEditableBounds aWorldBound)
The projection is cut off because only one hemisphere is projected.
|
void |
world2lonlatOnEllipsoidSFCT(ILcdPoint aXYPoint,
ILcdEllipsoid aEllipsoid,
ILcd2DEditablePoint aLLPSFCT)
Default implementation calls
world2lonlatOnSphereSFCT with
aEllipsoid.getAuxRadius() as sphere radius. |
void |
world2lonlatOnSphereSFCT(ILcdPoint aXYPoint,
double aRadius,
ILcd2DEditablePoint aLLPSFCT)
Transforms an
ILcdPoint from the cartesian coordinate system
of the projection into an ILcd2DEditablePoint onto a sphere. |
clone, equals, getOrigin, getOriginLat, getOriginLon, hashCode, isContinuous, loadProperties, setOriginLat, setOriginLon, writePropertiesSFCT
addPropertyChangeListener, firePropertyChangeEvent, removePropertyChangeListener
finalize, getClass, notify, notifyAll, wait, wait, wait
addPropertyChangeListener, removePropertyChangeListener
public TLcdDutchStereographic()
(0,0)
.public TLcdDutchStereographic(double aLongitude, double aLatitude)
(aLatitude, aLongitude)
.
The central meridian is at the longitude aLongitude
.aLongitude
- longitude of the origin of the projection,
in decimal degrees.aLatitude
- latitude of the origin of the projection,
in decimal degrees.public TLcdDutchStereographic(ILcdPoint aOrigin)
ILcdPoint
aOrigin
.
The central meridian is at aOrigin.getX()
.aOrigin
- ILcd2DEditablePoint
of the origin of the projection.
aOrigin
is cloned within the constructor,
so no side effects will happen to the projection
as a result from changes to aOrigin
.protected void calculateCachedValues()
ALcdAzimuthal
calculateCachedValues
in class ALcdAzimuthal
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 void lonlatheight2worldOnSphereSFCT(ILcdPoint aLLHP, double aRadius, ILcd2DEditablePoint aWorldPoint) throws TLcdOutOfBoundsException
ILcdProjection
ILcd2DEditablePoint
on a sphere into the
cartesian coordinate system of the projection.aLLHP
- point to be projected.aRadius
- radius of the sphere (meters).aWorldPoint
- projected point as side effect.TLcdOutOfBoundsException
- If the
ILcdPoint
aLLHP
is not within the valid area
of the projection (visible area), then this exception is thrown.public void lonlatheight2worldOnEllipsoidSFCT(ILcdPoint aLLHP, ILcdEllipsoid aEllipsoid, ILcd2DEditablePoint aWorldPoint) 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.aWorldPoint
- projected point as side effect.TLcdOutOfBoundsException
- If the
ILcdPoint
aLLHP
is not within the valid area
of the projection (visible area), then this exception is thrown.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
- If the
ILcdPoint
aXYPoint
is not within the valid
area of the projection (visible area), then this exception is thrown.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
- If the
ILcdPoint
aXYPoint
is not within the valid
area of the projection (visible area), then this exception is thrown.public boolean inLonLatBounds(ILcdPoint llp)
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.llp
- 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 aWorldBound)
aRadius
- radius of the sphere.aWorldBound
- 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 void world2DEditableBoundsOnEllipsoidSFCT(ILcdEllipsoid aEllipsoid, ILcd2DEditableBounds aWorldBoundsSFCT)
ALcdProjection
world2lonlatOnSphereSFCT
with
aEllipsoid.getAuxRadius()
as sphere radius.world2DEditableBoundsOnEllipsoidSFCT
in interface ILcdProjection
world2DEditableBoundsOnEllipsoidSFCT
in class ALcdProjection
aEllipsoid
- ellipsoid considered.aWorldBoundsSFCT
- the bounds of the projection in world coordinates as side effect.public boolean inWorldBoundsOnEllipsoid(ILcdPoint aXYPoint, ILcdEllipsoid aEllipsoid)
ALcdProjection
inWorldBoundsOnSphere
with
aEllipsoid.getAuxRadius()
as sphere radius.inWorldBoundsOnEllipsoid
in interface ILcdProjection
inWorldBoundsOnEllipsoid
in class ALcdProjection
aXYPoint
- point to be checked upon.aEllipsoid
- ellipsoid on which the geodetic coordinate is defined.true
if valid, false
if invalid.ILcdProjection.inWorldBoundsOnSphere(com.luciad.shape.ILcdPoint, double)
public String toString()
String
representation of the Dutch stereographic projection.toString
in interface ILcdProjection
toString
in class Object
String
representation of the Dutch stereographic projection.