Package org.ka2ddo.yaac.gui.osm
Class LOSExtraDrawer
java.lang.Object
org.ka2ddo.yaac.gui.osm.LOSExtraDrawer
- All Implemented Interfaces:
DrawExtraOnLineOfSight
-
Constructor Summary
-
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.
-
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 interfaceDrawExtraOnLineOfSight
- 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
-