com.luciad.geodesy.ILcdGeodeticDatum
as this allows to use geoids for geodetic datums and ILcdGeoReference
instances such as
com.luciad.reference.ILcdGridReference
.public class TLcdGeoidReference extends Object implementsILcdGeoidReference, ILcdModelReference
TLcdGeoidReference
is an implementation of
an ILcdGeodeticModelReference
.CARTESIAN, GEODETIC
Constructor and Description |
---|
TLcdGeoidReference()
Deprecated.
Default constructor with
null ILcdGeodeticDatum
and ILcdVerticalDatum . |
TLcdGeoidReference(ILcdGeodeticDatum aGeodeticDatum,
ILcdVerticalDatum aVerticalDatum)
Deprecated.
Constructor with an
ILcdGeodeticDatum
and an ILcdVerticalDatum . |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Deprecated.
Makes
Object.clone() public. |
boolean |
equals(Object aObject)
Deprecated.
|
int |
getCoordinateType()
Deprecated.
Returns the type of coordinates used with this
ILcdGeoReference :
CARTESIAN or GEODETIC . |
ILcdGeodeticDatum |
getGeodeticDatum()
Deprecated.
Returns the
ILcdGeodeticDatum of this ILcdGeoReference . |
ILcdVerticalDatum |
getVerticalDatum()
Deprecated.
Returns the
ILcdVerticalDatum of this ILcdGeoidReference . |
int |
hashCode()
Deprecated.
|
void |
loadProperties(String aPrefix,
Properties aProperties)
Deprecated.
This method will, given
aPrefix and aProperties ,
set its property geodeticDatum to an instance of
ILcdGeodeticDatum . |
ILcdPoint |
makeModelPoint()
Deprecated.
Creates a model point that is compatible with this model reference.
|
void |
writePropertiesSFCT(String aPrefix,
Properties aPropertiesSFCT)
Deprecated.
Stores the properties that define this model reference into the specified
Properties object as a side
effect. |
public TLcdGeoidReference()
null
ILcdGeodeticDatum
and ILcdVerticalDatum
.public TLcdGeoidReference(ILcdGeodeticDatum aGeodeticDatum, ILcdVerticalDatum aVerticalDatum)
ILcdGeodeticDatum
and an ILcdVerticalDatum
.aGeodeticDatum
- the geodetic datum on which this reference is based.aVerticalDatum
- the vertical datum on which this reference is based.public ILcdGeodeticDatum getGeodeticDatum()
ILcdGeoReference
ILcdGeodeticDatum
of this ILcdGeoReference
.getGeodeticDatum
in interface ILcdGeoReference
ILcdGeodeticDatum
of this ILcdGeoReference
.ILcdGeoReference.getGeodeticDatum()
public ILcdVerticalDatum getVerticalDatum()
ILcdGeoidReference
ILcdVerticalDatum
of this ILcdGeoidReference
.getVerticalDatum
in interface ILcdGeoidReference
ILcdVerticalDatum
of this ILcdGeoidReference
.ILcdGeoidReference.getVerticalDatum()
public int getCoordinateType()
ILcdGeoReference
ILcdGeoReference
:
CARTESIAN
or GEODETIC
.getCoordinateType
in interface ILcdGeoReference
ILcdGeoReference
:
CARTESIAN
or GEODETIC
.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>TLcdGeoidReference.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 Object clone()
ILcdCloneable
Makes Object.clone()
public.
java.lang.Object
, it can be implemented like this:
public Object clone() {
try {
return super.clone();
} catch ( CloneNotSupportedException e ) {
// Cannot happen: extends from Object and implements Cloneable (see also Object.clone)
throw new RuntimeException( e );
}
}
clone
in interface ILcdCloneable
clone
in class Object
Object.clone()