public class TLcdMinimalVisibilityComposite extends Object implements ILcdVisibilityComposite
ILcdVisibilityComposite will output a minimum value of all provided
For instance, if an instance of
would obtain visibilities 0.2, 0.5 and 0.8 respectively, then
the result of this composite would be 0.2.
A possible use case for this composite implementation is the combination of multiple objects for the same 3D scene, each of which individually cause the scene to become more invisible in their projections away from the observer. For instance, if each object is a building, and each building has a viewshed, then combining the viewsheds of these buildings can be combined to form a single viewshed of the scene.
|Constructor and Description|
Creates a new instance of
|Modifier and Type||Method and Description|
Performs one compositing step by combining the previously accumulated visibility value with a new value.
Returns the visibility value with which the compositing should be initialized.
Checks whether additional compositing steps are useful.
public double initialVisibility()
public double compose(double aPreviousVisibility, double aCurrentVisibility)
aPreviousVisibility- the previously accumulated visibility value
aCurrentVisibility- new visibility value
public boolean stop(double aVisibility)
aVisibility- the accumulated visibility value so far.