public interface ILcdModelReference extends Serializable, ILcdCloneable
ILcdModel
is expressed.
Implementations should add enough information to fully and uniquely define the coordinate system they describe; for example, a geodetic reference may add information on what ellipsoid is used to model the earth.
Implementations of this interface should be immutable. The points contained in a model may differ depending on the coordinate system (for example, a 2D coordinate system requires 2D points, while a 3D coordinate system requires 3D points). This interface provides the methodmakeModelPoint()
to create valid model points for this coordinate system.
ILcdModel
Modifier and Type | Method and Description |
---|---|
void |
loadProperties(String aPrefix,
Properties aProperties)
Initializes this model reference based on the information in the specified properties.
|
ILcdPoint |
makeModelPoint()
Creates a model point that is compatible with this model reference.
|
void |
writePropertiesSFCT(String aPrefix,
Properties aPropertiesSFCT)
Stores the properties that define this model reference into the specified
Properties object as a side
effect. |
clone
void loadProperties(String aPrefix, Properties aProperties) throws IllegalArgumentException
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.void writePropertiesSFCT(String aPrefix, Properties aPropertiesSFCT) throws IllegalArgumentException
Properties
object as a side
effect.
Each particular implementation of this interface can define which properties it stores.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.ILcdPoint makeModelPoint()