public final class TLcdLambertFrenchGridReference extends TLcdGridReference implements ILcdGridReference, ILcdModelReference
CARTESIAN, GEODETIC
Constructor and Description |
---|
TLcdLambertFrenchGridReference()
Default constructor constructs the french grid system for zone II etendu,
which can also be used for the whole of France, with the zone number
prefixed to the false northing.
|
TLcdLambertFrenchGridReference(int aZoneID)
Creates a French grid reference for the given zone, with the zone number
prefixed to the false northing.
|
TLcdLambertFrenchGridReference(int aZoneID,
boolean aCarto)
Creates a French grid reference for the given zone, optionally with the
zone number prefixed to the false northing.
|
Modifier and Type | Method and Description |
---|---|
String |
getName() |
int |
getZoneID()
Gets the zone ID of the french grid system.
|
boolean |
isCarto()
Returns whether the zone number is prefixed to the false northing.
|
void |
loadProperties(String aPrefix,
Properties aProperties)
Retrieve parameters of this TLcdLambertFrenchGridReference
(i.e., the zone number) from a Properties object.
|
void |
setCarto(boolean aCarto)
Specifies whether the zone number should be prefixed to the false northing.
|
void |
setZoneID(int aZoneID)
Sets the zone ID of the french grid system to
aZone . |
void |
writePropertiesSFCT(String aPrefix,
Properties aPropertiesSFCT)
Writes the properties of a
TLcdLambertFrenchGridReference :
the zone id of the french grid system. |
clone, equals, get2DEditableBounds, getCoordinateType, getCosRotation, getFalseEasting, getFalseNorthing, getProjection, getRotation, getScale, getSinRotation, getUnitOfMeasure, hashCode, isBoundsAvailable, makeModelPoint, setFalseEasting, setFalseNorthing, setProjection, setRotation, setScale, setUnitOfMeasure, toString
getGeodeticDatum, getModelReferenceMetadata, setGeodeticDatum, setModelReferenceMetadata, setName
finalize, getClass, notify, notifyAll, wait, wait, wait
getCosRotation, getFalseEasting, getFalseNorthing, getProjection, getRotation, getScale, getSinRotation, getUnitOfMeasure
getCoordinateType, getGeodeticDatum
clone
makeModelPoint
public TLcdLambertFrenchGridReference()
public TLcdLambertFrenchGridReference(int aZoneID)
aZoneID
- the zone ID of the french grid system.public TLcdLambertFrenchGridReference(int aZoneID, boolean aCarto)
aZoneID
- the zone ID of the french grid system.aCarto
- specifies whether the zone number should be prefixed to
the false northing.public void loadProperties(String aPrefix, Properties aProperties) throws IllegalArgumentException
TLcdLambertFrenchGridReference
:
the zone id for the French grid reference.
This method will, given aPrefix, analyze the aProperties
object
to set the properties of this TLcdLambertFrenchGridReference
.
The values of following keys are retrieved:
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
TLcdLambertFrenchGridReference
:
the zone id of the french grid system.
This method will, given aPrefix, store the properties of this
TLcdLambertFrenchGridReference
into the aProperties
object. The values of following keys are stored:
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)
public void setZoneID(int aZoneID)
aZone
.
Zones I, II, and III are within France. Zone IV is Corse.
Passing 0 for the aZone
results in Zone II etendu,
used for the whole of France.aZoneID
- the zone ID of the french grid system.getZoneID()
public int getZoneID()
setZoneID(int)
public void setCarto(boolean aCarto)
aCarto
- specifies whether the zone number should be prefixed to
the false northing.isCarto()
public boolean isCarto()
setCarto(boolean)
public String getName()
getName
in class ALcdGeoReference