Package com.luciad.view.labeling.algorithm
This package contains the core classes that can be used to create labeling algorithms.
Labeling information classes
The following classes are used to store labeling information.
The first three classes are used to store all labeling information needed to compute label placements. TLcdCollectedLabeledObjectInfo contains necessary information to identify a labeled object and TLcdCollectedLabelInfo contains the necessary information to identify a label. TLcdLabelPlacement contains all the information about a label placement.
Also in most of these classes extra information can be stored in the form of properties. This is done to make sure that labeling algorithm wrappers can use the same information as the wrapped labeling algorithms.
ILcdLabelConflictChecker
ILcdLabelConflictChecker provides methods to check if TLcdLabelPlacements overlap with other label
placements, label obstacles or the view bounds. For more information about this interface, see
ILcdLabelConflictChecker
.
This package provides two implementations of ILcdLabelConflictChecker :
ILcdCollectedLabelInfoDependencyProvider
ILcdCollectedLabelInfoDependencyProvider can be used to specify and retrieve dependencies between
TLcdCollectedLabelInfo objects. For more information about this interface, see
ILcdCollectedLabelInfoDependencyProvider
.
- Since:
- 10.1
-
ClassDescriptionInterface that makes it possible to specify dependencies between
TLcdCollectedLabelInfo
objects.This interface defines methods to check if adding label placements causes conflicts, depending on other label placement, label obstacles and the view.This class represents a conflict.This class contains all information about a labeled object for which labels can be placed.This class contains all information about a label to be placed.This class contains all labels to be placed.This label conflict checker implementsILcdLabelConflictChecker
by checking if a given label placements overlaps with other placements, label obstacles or the view bounds by calculating their intersection analytically.An obstacle: a location where label placement should be avoided.A label placement defines a location of a label.ThisILcdLabelConflictChecker
doesn't check if label placements overlap with other label placements.