Class TLcdGridSegmentScanner

java.lang.Object
com.luciad.geometry.cartesian.TLcdGridSegmentScanner
All Implemented Interfaces:
ILcdSegmentScanner, ILcdStatusSource

public class TLcdGridSegmentScanner extends Object implements ILcdSegmentScanner, ILcdStatusSource
Implementation of ILcdSegmentScanner that generates points along Cartesian scan lines.
  • Constructor Details

    • TLcdGridSegmentScanner

      public TLcdGridSegmentScanner()
      Scans a segment along a straight line between the points. Before scanning, a grid reference needs to be set.
      See Also:
    • TLcdGridSegmentScanner

      public TLcdGridSegmentScanner(ILcdGridReference aGridReference)
      Scans a segment along a straight line between the points.
      Parameters:
      aGridReference - the reference that defines the unit of measure for distances.
  • Method Details

    • scanSegment

      public void scanSegment(double aDistanceDelta, ILcdPoint aStartPoint, ILcdPoint aEndPoint, ILcdOnPointFunction aFunction)
      Description copied from interface: ILcdSegmentScanner
      Scan a given line segment.
      Specified by:
      scanSegment in interface ILcdSegmentScanner
      Parameters:
      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.
    • getGeoReference

      public ILcdGeoReference getGeoReference()
      Description copied from interface: ILcdSegmentScanner
      Returns the geo reference system used.
      Specified by:
      getGeoReference in interface ILcdSegmentScanner
      Returns:
      the geo reference system used.
    • setGridReference

      public void setGridReference(ILcdGridReference aGridReference)
      Sets the grid reference to calculate distances.
      Parameters:
      aGridReference - the grid reference to calculate distances.
      See Also:
    • getGridReference

      public ILcdGridReference getGridReference()
      Returns the grid reference to calculate distances.
      Returns:
      the grid reference to calculate distances.
      See Also:
    • addStatusListener

      public void addStatusListener(ILcdStatusListener aILcdStatusListener)
      Adds a status listener.
      Specified by:
      addStatusListener in interface ILcdStatusSource
      Parameters:
      aILcdStatusListener - An ILcdStatusListener
      See Also:
    • removeStatusListener

      public void removeStatusListener(ILcdStatusListener aILcdStatusListener)
      Removes a status listener.
      Specified by:
      removeStatusListener in interface ILcdStatusSource
      Parameters:
      aILcdStatusListener - An ILcdStatusListener
      See Also:
    • isClassTraceOn

      public static boolean isClassTraceOn()
      Deprecated.
      This method has been deprecated. It is recommended to use the standard Java logging framework directly.
      Returns true if tracing is enabled for this class.
      Returns:
      true if tracing is enabled for this class, false otherwise.
    • setClassTraceOn

      public static void setClassTraceOn(boolean aClassTraceOn)
      Deprecated.
      This method has been deprecated. It is recommended to use the standard Java logging framework directly.
      Enables tracing for all instances of this class. If the argument is true then all log messages are recorded, otherwise only the informative, warning and error messages are recorded.
      Parameters:
      aClassTraceOn - if true then all log messages are recorded, otherwise only the informative, warning and error messages are recorded.