Class TLspCompositeDiscreteLabelingAlgorithm

java.lang.Object
com.luciad.view.lightspeed.label.algorithm.discrete.ALspDiscreteLabelingAlgorithm
com.luciad.view.lightspeed.label.algorithm.discrete.TLspCompositeDiscreteLabelingAlgorithm
All Implemented Interfaces:
ILcdCloneable, ILspLabelingAlgorithm, Cloneable

public class TLspCompositeDiscreteLabelingAlgorithm extends ALspDiscreteLabelingAlgorithm

This composite algorithm combines multiple ALspDiscreteLabelingAlgorithms into one labeling algorithm.

The difference with TLspCompositeLabelingAlgorithm is that, although multiple algorithms are combined, this composite algorithm respects the original label order. Labels will be placed in this order, provided that the delegate algorithms respect the order in which they receive the labels.

This composite algorithm uses an ILspLabelingAlgorithmProvider to assign labeling algorithms to labels. It works by creating a composite label iterator using createLabelIterator for each algorithm. It also does this using createLabelPlacementIterator and createLabelPlacementEvaluator.

Since:
2012.0