public interface ILcdModelReference extends Serializable, ILcdCloneable
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 method
makeModelPoint()to create valid model points for this coordinate system.
|Modifier and Type||Method and Description|
Initializes this model reference based on the information in the specified properties.
Creates a model point that is compatible with this model reference.
Stores the properties that define this model reference into the specified
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
Propertiesobject 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.