Package com.luciad.tea
Class TLcdP2PFactory
java.lang.Object
com.luciad.tea.TLcdP2PFactory
Deprecated.
This is a Factory class to create an
ILcdPoint2PointIntervisibility
that is automatically recomputed when one of its defining points changes.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreatePoint2PointIntervisibility
(ILcdPoint aFirstPoint, ILcdGeoReference aFirstPointReference, double aFirstPointHeightAboveGround, ILcdPoint aSecondPoint, ILcdGeoReference aSecondPointReference, double aSecondPointHeightAboveGround, ILcdModelReference aTargetReference, ILcdRaster[] aRasters, ILcdModelReference aRastersReference) Deprecated.Creates a newILcdPoint2PointIntervisibility
that recomputes its intervisibility each time one of its defining points is changed.createPoint2PointIntervisibility
(ILcdPoint aFirstPoint, ILcdGeoReference aFirstPointReference, double aFirstPointHeightAboveGround, ILcdPoint aSecondPoint, ILcdGeoReference aSecondPointReference, double aSecondPointHeightAboveGround, ALcdTerrainElevationProvider aTerrainElevationProvider, ILcdModelReference aTargetReference, ILcdModelModelTransformation aModelModelTransformation, double aStepInMeters) Deprecated.Creates aILcdExtendedPoint2PointIntervisibility
that contains the visibility between two points in different references.createPoint2PointIntervisibility
(ILcdPoint aFromPoint, ILcdPoint aToPoint, double aFromPointHeightAboveGround, double aToPointHeightAboveGround, ILcdRaster[] aRasters) Deprecated.Creates a newILcdPoint2PointIntervisibility
that recomputes its intervisibility each time one of its defining points is changed.createPoint2PointIntervisibility
(ILcdPoint aFromPoint, ILcdPoint aToPoint, double aFromPointHeightAboveGround, double aToPointHeightAboveGround, ILcdGXYView aGXYView) Deprecated.Creates a newILcdPoint2PointIntervisibility
that recomputes its intervisibility each time one of its defining points is changed.
-
Constructor Details
-
TLcdP2PFactory
public TLcdP2PFactory()Deprecated.
-
-
Method Details
-
createPoint2PointIntervisibility
public ILcdPoint2PointIntervisibility createPoint2PointIntervisibility(ILcdPoint aFromPoint, ILcdPoint aToPoint, double aFromPointHeightAboveGround, double aToPointHeightAboveGround, ILcdRaster[] aRasters) Deprecated.Creates a newILcdPoint2PointIntervisibility
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.- Parameters:
aFromPoint
- The first point of theILcdPoint2PointIntervisibility
. This point should be a lon lat point defined in WGS84 coordinates.aToPoint
- The second point of theILcdPoint2PointIntervisibility
. 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.- Returns:
- an
ILcdPoint2PointIntervisibility
that contains information about the intervisibility of the two points and the two points (as points of aILcdPointList
).
-
createPoint2PointIntervisibility
public ILcdPoint2PointIntervisibility createPoint2PointIntervisibility(ILcdPoint aFirstPoint, ILcdGeoReference aFirstPointReference, double aFirstPointHeightAboveGround, ILcdPoint aSecondPoint, ILcdGeoReference aSecondPointReference, double aSecondPointHeightAboveGround, ILcdModelReference aTargetReference, ILcdRaster[] aRasters, ILcdModelReference aRastersReference) Deprecated.Creates a newILcdPoint2PointIntervisibility
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 callscreatePoint2PointIntervisibility
.- Parameters:
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.- Returns:
- an
ILcdPoint2PointIntervisibility
that contains information about the intervisibility of the two points and the two points (as points of aILcdPointList
).
-
createPoint2PointIntervisibility
public ILcdPoint2PointIntervisibility createPoint2PointIntervisibility(ILcdPoint aFromPoint, ILcdPoint aToPoint, double aFromPointHeightAboveGround, double aToPointHeightAboveGround, ILcdGXYView aGXYView) Deprecated.Creates a newILcdPoint2PointIntervisibility
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.- Parameters:
aFromPoint
- The first point of theILcdPoint2PointIntervisibility
. This point should be a lon lat point defined in WGS84 coordinates.aToPoint
- The second point of theILcdPoint2PointIntervisibility
. 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
- TheILcdGXYView
to perform the computation on. The code will retrieve the relevant WGS84 rasters in the view to do the computations.- Returns:
- an
ILcdPoint2PointIntervisibility
that contains information about the intervisibility of the two points and the two points (as points of aILcdPointList
).
-
createPoint2PointIntervisibility
public ILcdExtendedPoint2PointIntervisibility createPoint2PointIntervisibility(ILcdPoint aFirstPoint, ILcdGeoReference aFirstPointReference, double aFirstPointHeightAboveGround, ILcdPoint aSecondPoint, ILcdGeoReference aSecondPointReference, double aSecondPointHeightAboveGround, ALcdTerrainElevationProvider aTerrainElevationProvider, ILcdModelReference aTargetReference, ILcdModelModelTransformation aModelModelTransformation, double aStepInMeters) Deprecated.Creates aILcdExtendedPoint2PointIntervisibility
that contains the visibility between two points in different references. The model-model 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 point-to-point intervisibility each time one of its defining points is changed.- Parameters:
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.- Returns:
- a
ILcdExtendedPoint2PointIntervisibility
that contains whether the two points are intervisible and the two points in the original reference. The object returned also implementsILcdPointList
which contains the points in the target reference.
-
TLcdP2PCoverageFactory
instead. Perform the following steps to replace this code with the new point-to-point coverage functionality.TLcdP2PCoverageFactory
.TLcdP2PRadarPropagationFunction
).TLcdP2PCoverage
) which contains the coverage for which the point-to-point should be created.TLcdP2PCoverageFactory.createPoint2PointIntervisibility
to create a newILcdPoint2PointIntervisibility
.