Class LOSExtraDrawer

java.lang.Object
org.ka2ddo.yaac.gui.osm.LOSExtraDrawer
All Implemented Interfaces:
DrawExtraOnLineOfSight

public class LOSExtraDrawer extends Object implements DrawExtraOnLineOfSight
  • Constructor Details

    • LOSExtraDrawer

      public LOSExtraDrawer()
  • Method Details

    • drawObstruction

      public 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.
      Specified by:
      drawObstruction in interface DrawExtraOnLineOfSight
      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