Interface DrawExtraOnLineOfSight

All Known Implementing Classes:
LOSExtraDrawer

public interface DrawExtraOnLineOfSight
Interface for extension to LineOfSightPanel to draw extra details if requested.
Author:
Andrew Pavlin, KA2DDO
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    drawObstruction(Graphics2D g, double lat, double lon, int ix, int iy, float hPixelsPerM, float vPixelsPerM, double tiltX, double tiltY)
    If an obstruction appears at this point on the line-of-sight plot, draw the obstruction above the ground.
  • Method Details

    • drawObstruction

      void drawObstruction(Graphics2D g, double lat, double lon, int ix, int iy, float hPixelsPerM, float vPixelsPerM, double tiltX, double tiltY)
      If an obstruction appears at this point on the line-of-sight plot, draw the obstruction above the ground.
      Parameters:
      g - Graphics object to render with
      lat - double latitude in fractional degrees North
      lon - double longitude in fractional degrees East
      ix - in-pane x coordinate of pixel of ground level
      iy - in-pane y coordinate of pixel of ground level
      hPixelsPerM - float scaling factor in horizontal pixels per meter
      vPixelsPerM - float scaling factor in vertical pixels per meter
      tiltX - double X scaling factor for tilt of Earth-radial line
      tiltY - double Y scaling factor for tilt of Earth radial line