Interface ILcyVisibilityCalculationPropertiesProvider
public interface ILcyVisibilityCalculationPropertiesProvider
Provider for the properties used by the calculation of the visibility between two shapes.
The provider is created in the TLcyShapeVisibilityAddOn,
and by replacing it with your own instance you can influence how the visibility is calculated.
Implementations of this interface should be thread-safe.
This provider is queried each time a (re-)calculation happens. You can use this to change the settings at runtime. For example, if you want to return different quality settings for a certain observer, you can retrigger the calculations and this provider will be queried for new settings.
- Since:
- 2019.1
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceContainer for the properties used in the visibility calculations -
Method Summary
Modifier and TypeMethodDescriptioncreateProperties(List<TLcyShapeObserver> aObservers, TLcdDomainObjectContext aObservee) Creates the visibility calculation properties for the calculation between the specified observers and the observee.
-
Method Details
-
createProperties
ILcyVisibilityCalculationPropertiesProvider.VisibilityCalculationProperties createProperties(List<TLcyShapeObserver> aObservers, TLcdDomainObjectContext aObservee) Creates the visibility calculation properties for the calculation between the specified observers and the observee.- Parameters:
aObservers- The list of observersaObservee- The observee that is observed by all the observers- Returns:
- The properties for the calculation.
-