Package com.luciad.model
Interface ILcdModelFactory
- All Known Implementing Classes:
TLcyCompositeModelFactory
public interface ILcdModelFactory
Factory to create
ILcdModel
instances for a given ILcdModelDescriptor
and ILcdModelReference
.- Since:
- 8.1
-
Method Summary
Modifier and TypeMethodDescriptioncreateModel
(ILcdModelDescriptor aModelDescriptor, ILcdModelReference aModelReference) Creates anILcdModel
for the givenILcdModelDescriptor
andILcdModelReference
.
-
Method Details
-
createModel
ILcdModel createModel(ILcdModelDescriptor aModelDescriptor, ILcdModelReference aModelReference) throws IllegalArgumentException Creates anILcdModel
for the givenILcdModelDescriptor
andILcdModelReference
.- Parameters:
aModelDescriptor
- The model descriptor.aModelReference
- The model reference. This parameter can be leftnull
to get a default model reference (for example WGS84, but it depends on the implementation).- Returns:
- The newly created
ILcdModel
, nevernull
. - Throws:
IllegalArgumentException
- If noILcdModel
can be created for the given parameters, for example because theILcdModelDescriptor
is of the incorrect type.
-