public interface DrawExtraOnLineOfSight
LineOfSightPanel
to draw extra details
if requested.Modifier and Type | Method and Description |
---|---|
void |
drawObstruction(java.awt.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.
|
void drawObstruction(java.awt.Graphics2D g, double lat, double lon, int ix, int iy, float hPixelsPerM, float vPixelsPerM, double tiltX, double tiltY)
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