public class TLcdP2PCoverage extends Object implements ILcdP2PCoverage
TLcdP2PCoverage
defines a coverage between two points. Objects of this type are
used by the TLcdP2PCoverageFactory
to create a point-to-point intervisibility.
It contains:
ILcdPoint
) in which the coverage starts,ILcdGeoReference
) in which the start point is defined,TLcdCoverageAltitudeMode
) which indicates how to interpret the start
point altitude,ILcdPoint
) in which the coverage stops,ILcdGeoReference
) in which the end point is defined,TLcdCoverageAltitudeMode
) which indicates how to interpret the end
point altitude, andConstructor and Description |
---|
TLcdP2PCoverage(ILcdPoint aStartPoint,
ILcdGeoReference aStartPointReference,
double aStartPointAltitude,
TLcdCoverageAltitudeMode aStartPointAltitudeMode,
ILcdPoint aEndPoint,
ILcdGeoReference aEndPointReference,
double aEndPointAltitude,
TLcdCoverageAltitudeMode aEndPointAltitudeMode,
double aStepSize)
Creates an new point-to-point coverage with the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Making the clone method available for all other classes.
|
boolean |
equals(Object aObject) |
ILcdPoint |
getEndPoint()
Returns the end point of this coverage.
|
double |
getEndPointAltitude()
Returns the altitude of the end point, defined in meters.
|
TLcdCoverageAltitudeMode |
getEndPointAltitudeMode()
Returns the altitude mode in which the altitude of the end point should be interpreted.
|
ILcdGeoReference |
getEndPointReference()
Returns the end point reference of this coverage.
|
ILcdPoint |
getStartPoint()
Returns the start point of this coverage.
|
double |
getStartPointAltitude()
Returns the altitude of the start point, defined in meters.
|
TLcdCoverageAltitudeMode |
getStartPointAltitudeMode()
Returns the altitude mode in which the altitude of the start point should be interpreted.
|
ILcdGeoReference |
getStartPointReference()
Returns the start point of this coverage.
|
double |
getStepSize()
Returns the step size of this coverage, defined in meters.
|
int |
hashCode() |
public TLcdP2PCoverage(ILcdPoint aStartPoint, ILcdGeoReference aStartPointReference, double aStartPointAltitude, TLcdCoverageAltitudeMode aStartPointAltitudeMode, ILcdPoint aEndPoint, ILcdGeoReference aEndPointReference, double aEndPointAltitude, TLcdCoverageAltitudeMode aEndPointAltitudeMode, double aStepSize)
null
, otherwise a NullPointerException
will be thrown.aStartPoint
- The start point.aStartPointReference
- The reference in which the start point is defined.aStartPointAltitude
- The altitude of the start point, defined in meters.aStartPointAltitudeMode
- The altitude mode indicating how to interpret the altitude
of the start point.aEndPoint
- The end point.aEndPointReference
- The reference in which the end point is defined.aEndPointAltitude
- The altitude of the end point, defined in meters.aEndPointAltitudeMode
- The altitude mode indicating how to interpret the altitude
of the end point.aStepSize
- The discretization step size, defined in meters.NullPointerException
- when one of the following arguments are null
:
aStartPoint
, aStartPointReference
, aStartPointAltitudeMode
,
aEndPoint
, aEndPointReference
and aEndPointAltitudeMode
.public ILcdPoint getStartPoint()
getStartPoint
in interface ILcdP2PCoverage
setStartPoint(com.luciad.shape.ILcdPoint)
public TLcdCoverageAltitudeMode getStartPointAltitudeMode()
getStartPointAltitudeMode
in interface ILcdP2PCoverage
public double getStartPointAltitude()
getStartPointAltitude
in interface ILcdP2PCoverage
setStartPointAltitude(double)
public ILcdGeoReference getStartPointReference()
getStartPointReference
in interface ILcdP2PCoverage
setStartPointReference(com.luciad.reference.ILcdGeoReference)
public ILcdPoint getEndPoint()
getEndPoint
in interface ILcdP2PCoverage
setEndPoint(com.luciad.shape.ILcdPoint)
public TLcdCoverageAltitudeMode getEndPointAltitudeMode()
getEndPointAltitudeMode
in interface ILcdP2PCoverage
public double getEndPointAltitude()
getEndPointAltitude
in interface ILcdP2PCoverage
setEndPointAltitude(double)
public ILcdGeoReference getEndPointReference()
getEndPointReference
in interface ILcdP2PCoverage
setEndPointReference(com.luciad.reference.ILcdGeoReference)
public double getStepSize()
getStepSize
in interface ILcdP2PCoverage
setStepSize(double)
public Object clone() throws CloneNotSupportedException
ILcdP2PCoverage
clone
in interface ILcdP2PCoverage
clone
in class Object
CloneNotSupportedException