Package com.luciad.reference
Class TLcdDHDNGermanGridReference
java.lang.Object
com.luciad.reference.ALcdGeoReference
com.luciad.reference.TLcdGridReference
com.luciad.reference.TLcdDHDNGermanGridReference
- All Implemented Interfaces:
ILcdExtendedModelReference,ILcdModelReference,ILcdGeoReference,ILcdGridReference,ILcdCloneable,ILcdXYWorldReference,ILcdXYZWorldReference,Serializable,Cloneable
public final class TLcdDHDNGermanGridReference
extends TLcdGridReference
implements ILcdGridReference, ILcdExtendedModelReference
This class contains all information about the German grid system.
- Gauss-Krueger projection (with specific properties)
- based on Bessel 1841 ellipsoid
- Potsdam geodetic datum and 7 parameter relation with WGS-1984
- world2grid/grid2world transformation parameters
- See Also:
-
Field Summary
Fields inherited from interface com.luciad.reference.ILcdGeoReference
CARTESIAN, GEODETIC -
Constructor Summary
ConstructorsConstructorDescriptionDefault 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). -
Method Summary
Modifier and TypeMethodDescriptionintGets the zone ID of the German grid system.voidloadProperties(String aPrefix, Properties aProperties) Retrieve parameters of this TLcdDHDNGermanGridReference (i.e., the zone number) from a Properties.voidsetZoneID(int aZone) Sets the zone ID of the German grid system toaZone.toString()Returns the name of this grid reference, by default "German DHDN, Zone " followed by the zone number.voidwritePropertiesSFCT(String aPrefix, Properties aProperties) Stores the TLcdDHDNGermanGridReference parameters into the aPropertiesSFCT object.Methods inherited from class com.luciad.reference.TLcdGridReference
clone, equals, get2DEditableBounds, getCoordinateType, getCosRotation, getFalseEasting, getFalseNorthing, getProjection, getRotation, getScale, getSinRotation, getUnitOfMeasure, hashCode, isBoundsAvailable, makeModelPoint, setFalseEasting, setFalseNorthing, setProjection, setRotation, setScale, setUnitOfMeasureMethods inherited from class com.luciad.reference.ALcdGeoReference
getGeodeticDatum, getModelReferenceMetadata, getName, setGeodeticDatum, setModelReferenceMetadata, setNameMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.luciad.util.ILcdCloneable
cloneMethods inherited from interface com.luciad.model.ILcdExtendedModelReference
getModelReferenceMetadataMethods inherited from interface com.luciad.reference.ILcdGeoReference
getCoordinateType, getGeodeticDatumMethods inherited from interface com.luciad.reference.ILcdGridReference
getCosRotation, getFalseEasting, getFalseNorthing, getProjection, getRotation, getScale, getSinRotation, getUnitOfMeasureMethods inherited from interface com.luciad.model.ILcdModelReference
makeModelPoint
-
Constructor Details
-
TLcdDHDNGermanGridReference
public TLcdDHDNGermanGridReference()Default constructor constructs the German grid system for zone 3 which can also be used for the whole of Germany. -
TLcdDHDNGermanGridReference
public TLcdDHDNGermanGridReference(int aZone) Constructor for German grid system in one of the five zones (1-5).- Parameters:
aZone- the German grid system zone (1-5).
-
-
Method Details
-
loadProperties
Retrieve parameters of this TLcdDHDNGermanGridReference (i.e., the zone number) from a Properties.- Specified by:
loadPropertiesin interfaceILcdModelReference- Overrides:
loadPropertiesin classTLcdGridReference- Parameters:
aPrefix- a common prefix for all property names that are read.aProperties- the properties to be parsed.- Throws:
IllegalArgumentException- if the model reference cannot be constructed from the properties.- See Also:
-
writePropertiesSFCT
public void writePropertiesSFCT(String aPrefix, Properties aProperties) throws IllegalArgumentException Stores the TLcdDHDNGermanGridReference parameters into the aPropertiesSFCT object.- Specified by:
writePropertiesSFCTin interfaceILcdModelReference- Overrides:
writePropertiesSFCTin classTLcdGridReference- Parameters:
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.- Throws:
IllegalArgumentException- if the model reference cannot be serialized into properties.- See Also:
-
setZoneID
public void setZoneID(int aZone) Sets the zone ID of the German grid system toaZone.- Parameters:
aZone- the German grid system zone to use (1-5).- See Also:
-
getZoneID
public int getZoneID()Gets the zone ID of the German grid system.- Returns:
- the zone ID of the German grid system.
- See Also:
-
toString
Returns the name of this grid reference, by default "German DHDN, Zone " followed by the zone number.- Overrides:
toStringin classTLcdGridReference- Returns:
- the name of this grid reference.
-