public abstract class ALcdTransverseCylindrical extends ALcdProjection implements ILcdTransverseCylindrical, Cloneable
ALcdTransverseCylindrical
is a ILcdProjection
for which a cylinder is wrapped around the globe. The cylinder touches the
poles and the axis of the cylinder is in the direction of the central
meridian. The central meridian is determined by its longitude and it
determines together with the origin latitude the position of the origin of
the ALcdTransverseCylindrical
.
fPropertyChangeDispatcher
EPSILON
Constructor and Description |
---|
ALcdTransverseCylindrical() |
Modifier and Type | Method and Description |
---|---|
protected void |
calculateCachedValues()
Constants based on the central meridian of the projection don't have to be
recalculated every time a method is called.
|
Object |
clone()
Makes a deep clone of this
ILcdProjection . |
boolean |
equals(Object aObject)
Checks if this
ILcdProjection equals some other Object. |
double |
getCentralMeridian()
Gets the longitude of the centralMeridian of this
ILcdTransverseCylindrical . |
ILcdPoint |
getOrigin()
Origin of the projection is the
ILcd2DEditablePoint that
corresponds with origin (0, 0) of the cartesian coordinate system of the
projection. |
double |
getOriginLat()
Gets the latitude of the originLat of this
ILcdTransverseCylindrical . |
int |
hashCode() |
boolean |
isContinuous()
An
ILcdProjection is continuous if there are no interruptions
in the world coordinates. |
void |
loadProperties(String aPrefix,
Properties aProperty)
Load the property of an
ALcdTransverseCylindrical : the central
meridian of the projection. |
void |
setCentralMeridian(double aLongitude)
Sets the centralMeridian to the meridian with longitude
aLongitude . |
void |
setOriginLat(double aLatitude)
Sets the originLat to the latitude
aLatitude . |
void |
writePropertiesSFCT(String aPrefix,
Properties aPropertySFCT)
Writes the property of an
ALcdTransverseCylindrical : the
central meridian of the projection. |
addPropertyChangeListener, boundaryLats, boundaryLons, firePropertyChangeEvent, inWorldBoundsOnEllipsoid, lonlatheight2worldOnEllipsoidSFCT, removePropertyChangeListener, world2DEditableBoundsOnEllipsoidSFCT, world2lonlatOnEllipsoidSFCT
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
boundaryLats, boundaryLons, inLonLatBounds, inWorldBoundsOnEllipsoid, inWorldBoundsOnSphere, isAllInBounds, lonlatheight2worldOnEllipsoidSFCT, lonlatheight2worldOnSphereSFCT, toString, world2DEditableBoundsOnEllipsoidSFCT, world2DEditableBoundsOnSphereSFCT, world2lonlatOnEllipsoidSFCT, world2lonlatOnSphereSFCT
addPropertyChangeListener, removePropertyChangeListener
public void setCentralMeridian(double aLongitude)
ILcdTransverseCylindrical
aLongitude
.setCentralMeridian
in interface ILcdTransverseCylindrical
aLongitude
- The new centralMeridian value.ILcdTransverseCylindrical.getCentralMeridian()
public void setOriginLat(double aLatitude)
ILcdTransverseCylindrical
aLatitude
.setOriginLat
in interface ILcdTransverseCylindrical
aLatitude
- The new originLat value.ILcdTransverseCylindrical.getOriginLat()
public double getCentralMeridian()
ILcdTransverseCylindrical
ILcdTransverseCylindrical
.getCentralMeridian
in interface ILcdTransverseCylindrical
ILcdTransverseCylindrical
.ILcdTransverseCylindrical.setCentralMeridian(double)
public double getOriginLat()
ILcdTransverseCylindrical
ILcdTransverseCylindrical
.getOriginLat
in interface ILcdTransverseCylindrical
ILcdTransverseCylindrical
.ILcdTransverseCylindrical.setOriginLat(double)
public ILcdPoint getOrigin()
ILcdProjection
ILcd2DEditablePoint
that
corresponds with origin (0, 0) of the cartesian coordinate system of the
projection.getOrigin
in interface ILcdProjection
public boolean isContinuous()
ILcdProjection
ILcdProjection
is continuous if there are no interruptions
in the world coordinates. Most projections are continuous.isContinuous
in interface ILcdProjection
true
if the projection is continuous,
false
otherwise.public void loadProperties(String aPrefix, Properties aProperty) throws IllegalArgumentException
ALcdTransverseCylindrical
: the central
meridian of the projection. This method will, given aPrefix, analyze the
aProperties object to set the property of this ALcdTransverseCylindrical
.
The value of following key is retrieved:
loadProperties
in interface ILcdProjection
aPrefix
- prefix of the property names.aProperty
- Properties object containing the serialized properties.IllegalArgumentException
- if the projection cannot be created.public void writePropertiesSFCT(String aPrefix, Properties aPropertySFCT)
ALcdTransverseCylindrical
: the
central meridian of the projection. This method will, given aPrefix, store
the property of this ALcdTransverseCylindrical
the aProperties
object. The value of following key is stored:
writePropertiesSFCT
in interface ILcdProjection
aPrefix
- prefix for the property names.aPropertySFCT
- Properties object to store the serialized properties by side effect.protected void calculateCachedValues()
public boolean equals(Object aObject)
ILcdProjection
ILcdProjection
equals some other Object.equals
in interface ILcdProjection
equals
in class Object
aObject
- Object to compare with.ILcdProjection
class and having the same
projection properties, false otherwise.public Object clone()
ILcdProjection
ILcdProjection
.clone
in interface ILcdProjection
clone
in class ALcdProjection
ILcdProjection
.