public class TLcdGeocentricReference extends ALcdGeoReference implements ILcdGeocentricReference, ILcdXYZWorldReference
ILcdGeocentricReference
.
This implementation is "Earth Centered, Earth Fixed", also known as ECEF: the axes are attached to the solid
body of the Earth.CARTESIAN, GEODETIC
Constructor and Description |
---|
TLcdGeocentricReference()
Constructs a geocentric reference that uses the default geodetic datum.
|
TLcdGeocentricReference(ILcdGeodeticDatum aGeodeticDatum)
Constructs a geocentric reference that uses a specified.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object aObject) |
int |
getCoordinateType()
Returns the type of coordinates used with this
ILcdGeoReference :
CARTESIAN or GEODETIC . |
double |
getUnitOfMeasure()
Returns the unit of measure of this geocentric reference with respect to
meters.
|
int |
hashCode() |
void |
loadProperties(String aPrefix,
Properties properties)
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.
|
void |
setUnitOfMeasure(double aUnitOfMeasure)
Sets the unit of measure for this geocentric reference.
|
void |
writePropertiesSFCT(String aPrefix,
Properties properties)
Stores the properties that define this model reference into the specified
Properties object as a side
effect. |
clone, getGeodeticDatum, getModelReferenceMetadata, getName, setGeodeticDatum, setModelReferenceMetadata, setName
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getGeodeticDatum
clone
public TLcdGeocentricReference()
TLcdGeodeticDatum.TLcdGeodeticDatum()
public TLcdGeocentricReference(ILcdGeodeticDatum aGeodeticDatum)
aGeodeticDatum
- the geodetic datum for this geocentric referencepublic int getCoordinateType()
ILcdGeoReference
ILcdGeoReference
:
CARTESIAN
or GEODETIC
.getCoordinateType
in interface ILcdGeoReference
ILcdGeoReference
:
CARTESIAN
or GEODETIC
.public double getUnitOfMeasure()
ILcdGeocentricReference
getUnitOfMeasure
in interface ILcdGeocentricReference
public void setUnitOfMeasure(double aUnitOfMeasure)
aUnitOfMeasure
- the new unit of measure for this geocentric referenceIllegalArgumentException
- if the unit of measure is less than or equal to 0getUnitOfMeasure()
public ILcdPoint makeModelPoint()
ILcdModelReference
makeModelPoint
in interface ILcdModelReference
public void loadProperties(String aPrefix, Properties properties) throws IllegalArgumentException
loadProperties
in interface ILcdModelReference
aPrefix
- a common prefix for all property names that are readproperties
- the given set of properties to be parsedIllegalArgumentException
- if the model reference cannot be constructed from the propertiespublic void writePropertiesSFCT(String aPrefix, Properties properties) 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.properties
- 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.public int hashCode()
hashCode
in class ALcdGeoReference
public boolean equals(Object aObject)
equals
in class ALcdGeoReference