Package com.luciad.model

package com.luciad.model

Model interfaces

The following are the main model interfaces provided in this package:
  • ILcdModel: basic model interface, providing methods for retrieving, adding and removing elements, to be implemented by all models.
  • ILcdIntegerIndexedModel: extension of ILcdModel that allows integered-indexed queries, similar to a Java List.
  • ILcd2DBoundsIndexedModel: extension of ILcdModel that allows spatial queries.
  • ILcdFeatureIndexedModel: extension of ILcdModel that allows feature-based queries.

Model implementations

The following table shows all available ILcdModel implementations in this package and the functionality they offer. One should choose the model that matches best the requirements: the more functionality a model offers, the more resources it will use and the more constraints it will put on the elements.

Model Integer access Spatial access Feature access Multileveling Lazy loading
TLcdVectorModel x
TLcd2DBoundsIndexedModel x x
TLcdMultilevel2DBoundsIndexedModel x x x
TLcdSoft2DBoundsIndexedModel x x

The class documentation provides more information about the constraints and limitations of each of the implementations.

If it is unclear which model to use, TLcd2DBoundsIndexedModel is a good first choice that has a good overall performance without adding too much complexity to the application.

Two classes are provided to combine multiple models into larger models: