public class TLcdGeodeticReference extends ALcdGeoReference implements ILcdGeodeticReference
TLcdGeodeticReference
is an implementation of
ILcdGeodeticReference
.CARTESIAN, GEODETIC
Constructor and Description |
---|
TLcdGeodeticReference()
Default constructor.
|
TLcdGeodeticReference(ILcdGeodeticDatum aGeodeticDatum)
Constructor with an
ILcdGeodeticDatum . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object aObject) |
int |
getCoordinateType()
Returns ILcdGeoReference.GEODETIC.
|
void |
loadProperties(String aPrefix,
Properties aProperties)
This method will, given
aPrefix and aProperties ,
set its property geodeticDatum to an instance of
ILcdGeodeticDatum . |
ILcdPoint |
makeModelPoint()
Creates a model point that is compatible with this model reference.
|
String |
toString()
Returns the name of the geodetic datum.
|
void |
writePropertiesSFCT(String aPrefix,
Properties aPropertiesSFCT)
Stores the properties that define this model reference into the specified
Properties object as a side
effect. |
clone, getGeodeticDatum, getModelReferenceMetadata, getName, hashCode, setGeodeticDatum, setModelReferenceMetadata, setName
finalize, getClass, notify, notifyAll, wait, wait, wait
clone
getGeodeticDatum
public TLcdGeodeticReference()
Note:This constructor exists mainly for beans compliancy reasons. Use
TLcdGeodeticReference(com.luciad.geodesy.ILcdGeodeticDatum)
.
public TLcdGeodeticReference(ILcdGeodeticDatum aGeodeticDatum)
ILcdGeodeticDatum
.aGeodeticDatum
- the geodetic datum on which this reference is based.
public int getCoordinateType()
getCoordinateType
in interface ILcdGeoReference
public ILcdPoint makeModelPoint()
ILcdModelReference
makeModelPoint
in interface ILcdModelReference
public void loadProperties(String aPrefix, Properties aProperties) throws IllegalArgumentException
aPrefix
and aProperties
,
set its property geodeticDatum to an instance of
ILcdGeodeticDatum
.
To be able to set the property geodeticDatum the aProperties should contain
entries which will be analyzed by the TLcdGeodeticDatumFactory
.
The keys of those entries should begin with
'<aPrefix>TLcdGeodeticReference.geodeticDatum.'.loadProperties
in interface ILcdModelReference
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.public void writePropertiesSFCT(String aPrefix, Properties aPropertiesSFCT) throws IllegalArgumentException
ILcdModelReference
Properties
object as a side
effect.
Each particular implementation of this interface can define which properties it stores.writePropertiesSFCT
in interface ILcdModelReference
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.loadProperties(java.lang.String, java.util.Properties)
public boolean equals(Object aObject)
equals
in class ALcdGeoReference
public String toString()
toString
in class Object
ALcdGeoReference.getName()