public class TLcdGridSegmentScanner extends Object implements ILcdSegmentScanner, ILcdStatusSource
Constructor and Description |
---|
TLcdGridSegmentScanner()
Scans a segment along a straight line between the points.
|
TLcdGridSegmentScanner(ILcdGridReference aGridReference)
Scans a segment along a straight line between the points.
|
Modifier and Type | Method and Description |
---|---|
void |
addStatusListener(ILcdStatusListener aILcdStatusListener)
Adds a status listener.
|
ILcdGeoReference |
getGeoReference()
Returns the geo reference system used.
|
ILcdGridReference |
getGridReference()
Returns the grid reference to calculate distances.
|
static boolean |
isClassTraceOn()
Deprecated.
This method has been deprecated. It is recommended to use the
standard Java logging framework directly.
|
void |
removeStatusListener(ILcdStatusListener aILcdStatusListener)
Removes a status listener.
|
void |
scanSegment(double aDistanceDelta,
ILcdPoint aStartPoint,
ILcdPoint aEndPoint,
ILcdOnPointFunction aFunction)
Scan a given line segment.
|
static void |
setClassTraceOn(boolean aClassTraceOn)
Deprecated.
This method has been deprecated. It is recommended to use the
standard Java logging framework directly.
|
void |
setGridReference(ILcdGridReference aGridReference)
Sets the grid reference to calculate distances.
|
public TLcdGridSegmentScanner()
public TLcdGridSegmentScanner(ILcdGridReference aGridReference)
aGridReference
- the reference that defines the unit of measure for distances.public void scanSegment(double aDistanceDelta, ILcdPoint aStartPoint, ILcdPoint aEndPoint, ILcdOnPointFunction aFunction)
ILcdSegmentScanner
scanSegment
in interface ILcdSegmentScanner
aDistanceDelta
- Distance between consecutive generated points in meters.aStartPoint
- Start point of segment.aEndPoint
- End point of segment.aFunction
- Function to apply on generated points.public ILcdGeoReference getGeoReference()
ILcdSegmentScanner
getGeoReference
in interface ILcdSegmentScanner
public void setGridReference(ILcdGridReference aGridReference)
aGridReference
- the grid reference to calculate distances.getGridReference()
public ILcdGridReference getGridReference()
setGridReference(com.luciad.reference.ILcdGridReference)
public void addStatusListener(ILcdStatusListener aILcdStatusListener)
addStatusListener
in interface ILcdStatusSource
aILcdStatusListener
- An ILcdStatusListener
removeStatusListener(com.luciad.util.ILcdStatusListener)
public void removeStatusListener(ILcdStatusListener aILcdStatusListener)
removeStatusListener
in interface ILcdStatusSource
aILcdStatusListener
- An ILcdStatusListener
addStatusListener(com.luciad.util.ILcdStatusListener)
public static boolean isClassTraceOn()
true
if tracing is enabled for this class.public static void setClassTraceOn(boolean aClassTraceOn)
true
then all log messages are recorded, otherwise only
the informative, warning and error messages are recorded.aClassTraceOn
- if true then all log messages are recorded,
otherwise only the informative, warning and error messages are recorded.