TLcdP2PCoverageFactory
instead. Perform the following steps to replace this code
with the new pointtopoint coverage functionality.
TLcdP2PCoverageFactory
.TLcdP2PRadarPropagationFunction
).TLcdP2PCoverage
) which contains the coverage
for which the pointtopoint should be created.TLcdP2PCoverageFactory.createPoint2PointIntervisibility
to create
a new ILcdPoint2PointIntervisibility
.public class TLcdP2PFactory
extends java.lang.Object
ILcdPoint2PointIntervisibility
that is automatically recomputed when one of its defining points changes.Constructor and Description 

TLcdP2PFactory()
Deprecated.

Modifier and Type  Method and Description 

ILcdExtendedPoint2PointIntervisibility 
createPoint2PointIntervisibility(ILcdPoint aFirstPoint,
ILcdGeoReference aFirstPointReference,
double aFirstPointHeightAboveGround,
ILcdPoint aSecondPoint,
ILcdGeoReference aSecondPointReference,
double aSecondPointHeightAboveGround,
ALcdTerrainElevationProvider aTerrainElevationProvider,
ILcdModelReference aTargetReference,
ILcdModelModelTransformation aModelModelTransformation,
double aStepInMeters)
Deprecated.
Creates a
ILcdExtendedPoint2PointIntervisibility that contains the visibility between two
points in different references. 
ILcdPoint2PointIntervisibility 
createPoint2PointIntervisibility(ILcdPoint aFirstPoint,
ILcdGeoReference aFirstPointReference,
double aFirstPointHeightAboveGround,
ILcdPoint aSecondPoint,
ILcdGeoReference aSecondPointReference,
double aSecondPointHeightAboveGround,
ILcdModelReference aTargetReference,
ILcdRaster[] aRasters,
ILcdModelReference aRastersReference)
Deprecated.
Creates a new
ILcdPoint2PointIntervisibility that recomputes its intervisibility each
time one of its defining points is changed. 
ILcdPoint2PointIntervisibility 
createPoint2PointIntervisibility(ILcdPoint aFromPoint,
ILcdPoint aToPoint,
double aFromPointHeightAboveGround,
double aToPointHeightAboveGround,
ILcdGXYView aGXYView)
Deprecated.
Creates a new
ILcdPoint2PointIntervisibility that recomputes its intervisibility each
time one of its defining points is changed. 
ILcdPoint2PointIntervisibility 
createPoint2PointIntervisibility(ILcdPoint aFromPoint,
ILcdPoint aToPoint,
double aFromPointHeightAboveGround,
double aToPointHeightAboveGround,
ILcdRaster[] aRasters)
Deprecated.
Creates a new
ILcdPoint2PointIntervisibility that recomputes its intervisibility each
time one of its defining points is changed. 
public ILcdPoint2PointIntervisibility createPoint2PointIntervisibility(ILcdPoint aFromPoint, ILcdPoint aToPoint, double aFromPointHeightAboveGround, double aToPointHeightAboveGround, ILcdRaster[] aRasters)
ILcdPoint2PointIntervisibility
that recomputes its intervisibility each
time one of its defining points is changed. The sampling of the underlying terrain data is done at
a distance equal to 1/100 of the original distance between the points.
This method assumes the two points and the rasters defined in the geodetic WGS84 reference.
aFromPoint
 The first point of the ILcdPoint2PointIntervisibility
.
This point should be a lon lat point defined in WGS84 coordinates.aToPoint
 The second point of the ILcdPoint2PointIntervisibility
.
This point should be a lon lat point defined in WGS84 coordinates.aFromPointHeightAboveGround
 The height (in meter) above the ground of the first point.aToPointHeightAboveGround
 The height (in meter) above the ground of the second point.aRasters
 The rasters to perform the computation on.ILcdPoint2PointIntervisibility
that contains information about the intervisibility
of the two points and the two points (as points of a ILcdPointList
).public ILcdPoint2PointIntervisibility createPoint2PointIntervisibility(ILcdPoint aFirstPoint, ILcdGeoReference aFirstPointReference, double aFirstPointHeightAboveGround, ILcdPoint aSecondPoint, ILcdGeoReference aSecondPointReference, double aSecondPointHeightAboveGround, ILcdModelReference aTargetReference, ILcdRaster[] aRasters, ILcdModelReference aRastersReference)
ILcdPoint2PointIntervisibility
that recomputes its intervisibility each
time one of its defining points is changed. It simplifies the intervisibility calculations over
terrain which is represented by raster data, all defined in the same reference.
This method computes the distance between the 2 points and sets the step so that the elevation is
calculated at 100 points and then calls createPoint2PointIntervisibility
.
aFirstPoint
 The first point to compute the intervisibility for.aFirstPointReference
 The reference in which the first points coordinates are expressed.aFirstPointHeightAboveGround
 The height above ground in meters of the first point.aSecondPoint
 The second point to compute the intervisibility for.aSecondPointReference
 The reference in which the second points coordinates are expressed.aSecondPointHeightAboveGround
 The height above ground in meters of the second point.aTargetReference
 The reference the coordinates of the resulting line will be expressed in.aRasters
 The rasters containing the elevation data.aRastersReference
 The reference the rasters are defined in.ILcdPoint2PointIntervisibility
that contains information about the intervisibility
of the two points and the two points (as points of a ILcdPointList
).public ILcdPoint2PointIntervisibility createPoint2PointIntervisibility(ILcdPoint aFromPoint, ILcdPoint aToPoint, double aFromPointHeightAboveGround, double aToPointHeightAboveGround, ILcdGXYView aGXYView)
ILcdPoint2PointIntervisibility
that recomputes its intervisibility each
time one of its defining points is changed. The sampling of the underlying terrain data is done at
a distance equal to 1/100 of the original distance between the points.
This method assumes the two points and the rasters defined in the geodetic WGS84 reference.
aFromPoint
 The first point of the ILcdPoint2PointIntervisibility
.
This point should be a lon lat point defined in WGS84 coordinates.aToPoint
 The second point of the ILcdPoint2PointIntervisibility
.
This point should be a lon lat point defined in WGS84 coordinates.aFromPointHeightAboveGround
 The height (in meter) above the ground of the first point.aToPointHeightAboveGround
 The height (in meter) above the ground of the second point.aGXYView
 The ILcdGXYView
to perform the computation on. The code will
retrieve the relevant WGS84 rasters in the view to do the computations.ILcdPoint2PointIntervisibility
that contains information about the intervisibility
of the two points and the two points (as points of a ILcdPointList
).public ILcdExtendedPoint2PointIntervisibility createPoint2PointIntervisibility(ILcdPoint aFirstPoint, ILcdGeoReference aFirstPointReference, double aFirstPointHeightAboveGround, ILcdPoint aSecondPoint, ILcdGeoReference aSecondPointReference, double aSecondPointHeightAboveGround, ALcdTerrainElevationProvider aTerrainElevationProvider, ILcdModelReference aTargetReference, ILcdModelModelTransformation aModelModelTransformation, double aStepInMeters)
ILcdExtendedPoint2PointIntervisibility
that contains the visibility between two
points in different references. The modelmodel transformation passed should be able to transform between
WGS84 and any of the references passed as a parameter below.
The resulting intervisibility object recomputes the pointtopoint intervisibility each time one of its defining points is changed.
aFirstPoint
 The first point to compute the intervisibility for.aFirstPointReference
 The reference in which the first points coordinates are expressed.aFirstPointHeightAboveGround
 The height above ground in meters of the first point.aSecondPoint
 The second point to compute the intervisibility for.aSecondPointReference
 The reference in which the second points coordinates are expressed.aSecondPointHeightAboveGround
 The height above ground in meters of the second point.aTerrainElevationProvider
 Provides elevation information to base the calculations on.aTargetReference
 The reference the coordinates of the resulting line will be expressed in.aModelModelTransformation
 A transformation that supports transforming points between WGS84 and
all references passed in these parameters.aStepInMeters
 The step in meters to take for sampling the points in between the two points.ILcdExtendedPoint2PointIntervisibility
that contains whether the two points are intervisible
and the two points in the original reference. The object returned also implements ILcdPointList
which
contains the points in the target reference.