Package com.luciad.tea
Class TLcdLOSCoverage
java.lang.Object
com.luciad.tea.TLcdLOSCoverage
- All Implemented Interfaces:
ILcdLOSCoverage,Cloneable
Default
ILcdLOSCoverage implementation that allows to set the
line-of-sight coverage properties.-
Constructor Summary
ConstructorsConstructorDescriptionTLcdLOSCoverage(ILcdPoint aCenterPoint, ILcdGeoReference aCenterPointReference, double aCenterPointAltitude, TLcdCoverageAltitudeMode aCenterPointAltitudeMode, double aRadiusMax, double aRadiusStep, double aAngleStart, double aAngleArc, double aAngleStep) Creates a new line-of-sight coverage with the specified parameters.TLcdLOSCoverage(ILcdPoint aCenterPoint, ILcdGeoReference aCenterPointReference, double aCenterPointAltitude, TLcdCoverageAltitudeMode aCenterPointAltitudeMode, double aRadiusMax, double aAngleStart, double aAngleArc, ILcdGeoReference aTargetReference, double aSampleDensity, double aRadialFraction) Creates a new line-of-sight coverage with the specified parameters. -
Method Summary
Modifier and TypeMethodDescriptionclone()Making the clone method available for all other classes.doubleReturns the arc angle of this coverage, defined in degrees.doubleReturns the start angle of this coverage, defined in degrees.doubleReturns the angle step of this coverage, defined in degrees.Returns the center point of this coverage.doubleReturns the altitude of the center point, defined by thegetCenterPointAltitudeMode().Returns the altitude mode in which the altitude of the center point should be interpreted.Returns the center point reference of this coverage.doubleReturns the maximum radial extent of this coverage, defined in meters.doubleReturns the radius step of this coverage, defined in meters.Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.luciad.tea.ILcdLOSCoverage
getRadiusSampleDistance, getRadiusStep
-
Constructor Details
-
TLcdLOSCoverage
public TLcdLOSCoverage(ILcdPoint aCenterPoint, ILcdGeoReference aCenterPointReference, double aCenterPointAltitude, TLcdCoverageAltitudeMode aCenterPointAltitudeMode, double aRadiusMax, double aRadiusStep, double aAngleStart, double aAngleArc, double aAngleStep) Creates a new line-of-sight coverage with the specified parameters. Note that the center point and the center point reference cannot be set tonull, if this is the case aNullPointerExceptionis thrown.- Parameters:
aCenterPoint- The center point around which the coverage is defined.aCenterPointReference- The reference in which the center point is defined.aCenterPointAltitude- The altitude of the center point.aCenterPointAltitudeMode- The altitude mode indicating how to interpret the altitude of the center point.aRadiusMax- The maximum radial extent in meters.aRadiusStep- The radial discretization step size in meters.aAngleStart- The start angle in degrees.aAngleArc- The arc angle in degrees.aAngleStep- The angular discretization step size in degrees.- Throws:
NullPointerException- when the givenaCenterPointoraCenterPointReferenceisnull.
-
TLcdLOSCoverage
public TLcdLOSCoverage(ILcdPoint aCenterPoint, ILcdGeoReference aCenterPointReference, double aCenterPointAltitude, TLcdCoverageAltitudeMode aCenterPointAltitudeMode, double aRadiusMax, double aAngleStart, double aAngleArc, ILcdGeoReference aTargetReference, double aSampleDensity, double aRadialFraction) Creates a new line-of-sight coverage with the specified parameters. Note that the center point and the center point reference cannot be set tonull, if this is the case aNullPointerExceptionis thrown. The angular and radial step sizes of this coverage are calculated using the given target reference, the sample density and the radial fraction. The sample density is the average number of samples that will be taken for an area equal to one square unit in model reference. For a geodetic target reference, it is the average number of samples for an area of 1 degree latitude by 1 degree longitude. For a grid target reference, it is usually (depending on the unit of measure of the reference) the average number of samples per meter square. From this parameter, the radial and angular sample steps are computed. The higher the density, the more accurate the result will be, but the longer the computation time will be. The time de/increase linearly with sample density. Reasonable values are usually the densities of the underlying rasters, provided they have the same reference as the target reference. The radial fraction is represented by a number in the interval ]0,1] and indicates the fraction of the maximum radius in which the pixel density is at least the same as the sample density. The computation time will de/increase linearly with the radial fraction.- Parameters:
aCenterPoint- The center point around which the coverage is defined.aCenterPointReference- The reference in which the center point is defined.aCenterPointAltitude- The altitude of the center point.aCenterPointAltitudeMode- The altitude mode indicating how to interpret the altitude of the center point.aRadiusMax- The maximum radial extent in meters.aAngleStart- The start angle in degrees.aAngleArc- The arc angle in degrees.aTargetReference- The target reference in which the sizes should be calculated.aSampleDensity- The density of the data sampling at the radius corresponding to the given radial fraction, expressed in the target reference.aRadialFraction- A number in the interval ]0,1] which indicates up until which fraction of the maximum radius, the pixel density is at least the same as the given sample density.- Throws:
NullPointerException- when the givenaCenterPointoraCenterPointReferenceisnull.
-
-
Method Details
-
getAngleArc
public double getAngleArc()Returns the arc angle of this coverage, defined in degrees.- Specified by:
getAngleArcin interfaceILcdLOSCoverage- Returns:
- the arc angle of this coverage, defined in degrees.
- See Also:
-
getAngleStart
public double getAngleStart()Returns the start angle of this coverage, defined in degrees.- Specified by:
getAngleStartin interfaceILcdLOSCoverage- Returns:
- the start angle of this coverage, defined in degrees.
- See Also:
-
getAngleStep
public double getAngleStep()Returns the angle step of this coverage, defined in degrees.- Specified by:
getAngleStepin interfaceILcdLOSCoverage- Returns:
- the angle step of this coverage, defined in degrees.
- See Also:
-
getCenterPoint
Returns the center point of this coverage.- Specified by:
getCenterPointin interfaceILcdLOSCoverage- Returns:
- the center point of this coverage.
- See Also:
-
getCenterPointAltitudeMode
Returns the altitude mode in which the altitude of the center point should be interpreted.- Specified by:
getCenterPointAltitudeModein interfaceILcdLOSCoverage- Returns:
- the altitude mode in which the altitude of the center point should be interpreted.
-
getCenterPointAltitude
public double getCenterPointAltitude()Returns the altitude of the center point, defined by thegetCenterPointAltitudeMode().- Specified by:
getCenterPointAltitudein interfaceILcdLOSCoverage- Returns:
- the altitude of the center point, defined by the
getCenterPointAltitudeMode(). - See Also:
-
getCenterPointReference
Returns the center point reference of this coverage.- Specified by:
getCenterPointReferencein interfaceILcdLOSCoverage- Returns:
- the center point reference of this coverage.
- See Also:
-
getRadiusMax
public double getRadiusMax()Returns the maximum radial extent of this coverage, defined in meters.- Specified by:
getRadiusMaxin interfaceILcdLOSCoverage- Returns:
- the maximum radial extent of this coverage, defined in meters.
- See Also:
-
getRadiusStep
public double getRadiusStep()Returns the radius step of this coverage, defined in meters.- Specified by:
getRadiusStepin interfaceILcdLOSCoverage- Returns:
- the radius step of this coverage, defined in meters.
- See Also:
-
clone
Description copied from interface:ILcdLOSCoverageMaking the clone method available for all other classes. All implementations of this interface should support the clone method. This means that this method should never throw a CloneNotSupportedException.- Specified by:
clonein interfaceILcdLOSCoverage- Overrides:
clonein classObject- Returns:
- a clone of this instance.
- Throws:
CloneNotSupportedException
-