Package org.ka2ddo.yaac.gui
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 TypeMethodDescriptionvoid
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 withlat
- double latitude in fractional degrees Northlon
- double longitude in fractional degrees Eastix
- in-pane x coordinate of pixel of ground leveliy
- in-pane y coordinate of pixel of ground levelhPixelsPerM
- float scaling factor in horizontal pixels per metervPixelsPerM
- float scaling factor in vertical pixels per metertiltX
- double X scaling factor for tilt of Earth-radial linetiltY
- double Y scaling factor for tilt of Earth radial line
-