public final class TLcdSwissGridReference extends TLcdGridReference implements ILcdGridReference, ILcdModelReference
Modifier and Type | Field and Description |
---|---|
static String |
sTYPE_LV03
Constant indicating the Swiss grid system of 1903.
|
static String |
sTYPE_LV95
Constant indicating the Swiss grid system of 1995.
|
CARTESIAN, GEODETIC
Constructor and Description |
---|
TLcdSwissGridReference()
Creates the Swiss grid system with 1903 parameters.
|
TLcdSwissGridReference(String aType)
Creates the Swiss grid system.
|
Modifier and Type | Method and Description |
---|---|
String |
getType()
Returns the Swiss grid system type (LV03 or LV95).
|
void |
loadProperties(String aPrefix,
Properties aProperties)
Performs no operation.
|
void |
setType(String aType)
Sets the type of the Swiss grid system.
|
void |
writePropertiesSFCT(String aPrefix,
Properties aPropertiesSFCT)
Performs no operation.
|
clone, equals, get2DEditableBounds, getCoordinateType, getCosRotation, getFalseEasting, getFalseNorthing, getProjection, getRotation, getScale, getSinRotation, getUnitOfMeasure, hashCode, isBoundsAvailable, makeModelPoint, setFalseEasting, setFalseNorthing, setProjection, setRotation, setScale, setUnitOfMeasure, toString
getGeodeticDatum, getModelReferenceMetadata, getName, setGeodeticDatum, setModelReferenceMetadata, setName
finalize, getClass, notify, notifyAll, wait, wait, wait
getCosRotation, getFalseEasting, getFalseNorthing, getProjection, getRotation, getScale, getSinRotation, getUnitOfMeasure
getCoordinateType, getGeodeticDatum
clone
makeModelPoint
public static final String sTYPE_LV03
public static final String sTYPE_LV95
public TLcdSwissGridReference()
public TLcdSwissGridReference(String aType)
aType
- the type of the Swiss grid system.
Only the values LV03 and LV95 are valid.public String getType()
setType(java.lang.String)
,
sTYPE_LV03
,
sTYPE_LV95
public void setType(String aType)
aType
- the type of the Swiss grid system.
Only accepts the values LV03 and LV95.getType()
,
sTYPE_LV03
,
sTYPE_LV95
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 aPropertiesSFCT) throws IllegalArgumentException
writePropertiesSFCT
in interface ILcdModelReference
writePropertiesSFCT
in class TLcdGridReference
aPrefix
- a common prefix for all property names written.aPropertiesSFCT
- 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)