public class TLcdP2PCoverageFactory extends java.lang.Object
TLcdP2PCoverageFactoryis a factory which creates
ILcdExtendedPoint2PointIntervisibilityobjects representing a line-of-sight computation between two points. These computations are based on propagation functions describing the visibility between two points. To create a new point-to-point intervisibility:
ILcdP2PPropagationFunction) describing how the detection wave propagates (visual, radar).
ILcdP2PCoveragedescribes both the defining points and the sampling step.
createPoint2PointIntervisibilityto compute the line-of-sight according to the propagation function on the covered area. The result is returned as an
ILcdExtendedPoint2PointIntervisibilityin the specified reference.
|Constructor and Description|
Defines a point-to-point coverage factory.
|Modifier and Type||Method and Description|
Starts notifying a listener with the progress of point-to-point visibility computations.
This method creates an
Terminates notifying a listener with the progress of point-to-point visibility computations.
public void removeStatusListener(ILcdStatusListener aStatusListener)
aStatusListener- will no longer be notified of progress when running a point-to-point visibility computation.
public void addStatusListener(ILcdStatusListener aStatusListener)
aStatusListener- will be notified of progress when running a point-to-point visibility computation.
public ILcdExtendedPoint2PointIntervisibility createPoint2PointIntervisibility(ILcdP2PPropagationFunction aP2PPropagationFunction, ILcdP2PCoverage aP2PCoverage, ILcdGeoReference aTargetReference, ALcdTerrainElevationProvider aTerrainElevationProvider)
ILcdExtendedPoint2PointIntervisibilityusing the propagation function
aP2PPropagationFunction, the point-to-point coverage
aP2PCoverage, the target reference
aTargetReferenceand the terrain elevation provider
. The target reference defines the reference in which the intervisibility polyline will be defined. Currently, only geodetic target references are supported.
aP2PPropagationFunction- The propagation function to use for the computation.
aP2PCoverage- The covered area and the intermediate step sizes.
aTargetReference- The reference in which the result will be defined.
aTerrainElevationProvider- The terrain elevation provider.
ILcdExtendedPoint2PointIntervisibilityrepresenting the result of line-of-sight computations on the given area using the given propagation function.
java.lang.NullPointerException- when a
nullargument is found.
java.lang.IllegalArgumentException- if the start point or the end point cannot be converted to the target reference
aTargetReferenceor when the target reference is not a geodetic reference.