public final class TLcdDHDNGermanGridReference extends TLcdGridReference implements ILcdGridReference, ILcdExtendedModelReference
CARTESIAN, GEODETIC
Constructor and Description |
---|
TLcdDHDNGermanGridReference()
Default constructor constructs the German grid system for zone 3
which can also be used for the whole of Germany.
|
TLcdDHDNGermanGridReference(int aZone)
Constructor for German grid system in one of the five zones (1-5).
|
Modifier and Type | Method and Description |
---|---|
int |
getZoneID()
Gets the zone ID of the German grid system.
|
void |
loadProperties(String aPrefix,
Properties aProperties)
Retrieve parameters of this TLcdDHDNGermanGridReference
(i.e., the zone number) from a Properties.
|
void |
setZoneID(int aZone)
Sets the zone ID of the German grid system to
aZone . |
String |
toString()
Returns the name of this grid reference, by default "German DHDN, Zone " followed by the zone number.
|
void |
writePropertiesSFCT(String aPrefix,
Properties aProperties)
Stores the TLcdDHDNGermanGridReference parameters into the aPropertiesSFCT object.
|
clone, equals, get2DEditableBounds, getCoordinateType, getCosRotation, getFalseEasting, getFalseNorthing, getProjection, getRotation, getScale, getSinRotation, getUnitOfMeasure, hashCode, isBoundsAvailable, makeModelPoint, setFalseEasting, setFalseNorthing, setProjection, setRotation, setScale, setUnitOfMeasure
getGeodeticDatum, getModelReferenceMetadata, getName, setGeodeticDatum, setModelReferenceMetadata, setName
finalize, getClass, notify, notifyAll, wait, wait, wait
getCosRotation, getFalseEasting, getFalseNorthing, getProjection, getRotation, getScale, getSinRotation, getUnitOfMeasure
getCoordinateType, getGeodeticDatum
getModelReferenceMetadata
makeModelPoint
clone
public TLcdDHDNGermanGridReference()
public TLcdDHDNGermanGridReference(int aZone)
aZone
- the German grid system zone (1-5).public void loadProperties(String aPrefix, Properties aProperties) throws IllegalArgumentException
loadProperties
in interface ILcdModelReference
loadProperties
in class TLcdGridReference
aPrefix
- a common prefix for all property names that are read.aProperties
- the properties to be parsed.IllegalArgumentException
- if the model reference cannot be constructed from the properties.TLcdProjectionFactory
,
TLcdGeodeticDatumFactory
,
TLcdModelReferenceMetadata
public void writePropertiesSFCT(String aPrefix, Properties aProperties) throws IllegalArgumentException
writePropertiesSFCT
in interface ILcdModelReference
writePropertiesSFCT
in class TLcdGridReference
aPrefix
- a common prefix for all property names written.aProperties
- the properties that will contain the serialized
properties for this model reference, as a side effect.IllegalArgumentException
- if the model reference cannot be serialized into properties.TLcdGridReference.loadProperties(java.lang.String, java.util.Properties)
public void setZoneID(int aZone)
aZone
.aZone
- the German grid system zone to use (1-5).getZoneID()
public int getZoneID()
setZoneID(int)
public String toString()
toString
in class TLcdGridReference