public class MissionPointCompositeWaypoint extends MissionPoint
Modifier and Type | Field and Description |
---|---|
protected Point2D |
xyEnd
last point in the pattern; mission coordinates (x=north)
|
color, COLORMINE, COLORMINESELECTED, COLORPOINT, COLORPOINT2, COLORPOINTSELECTED, COLORTEXT, COLORTEXTBGD, COLORWATCHRADIUS, commnd, depth, index, nf, POINTHEIGHT, POINTHIGHLIGHWIDTH, POINTLINEWIDTH, pointType, POINTTYPE_COMPOSITEWAYPOINT, POINTTYPE_HOVER, POINTTYPE_LIST, POINTTYPE_MINE, POINTTYPE_POSITION, POINTTYPE_WAYPOINT, POINTWIDTH, standoff, TEXTOFFSETX, TEXTOFFSETY, xyPosit
Constructor and Description |
---|
MissionPointCompositeWaypoint()
Creates a new instance of MissionPointCompositeWaypoint
|
MissionPointCompositeWaypoint(Point2D p)
Creates a new instance of MissionPointCompositeWaypoint
|
MissionPointCompositeWaypoint(Point2D p,
double z)
Creates a new instance of MissionPointCompositeWaypoint
|
Modifier and Type | Method and Description |
---|---|
void |
draw(Graphics2D gArea,
MissionToJava2DCoord m2j,
boolean flagSelected,
boolean showText,
boolean showWatchRadius)
draws the point in the 2D mission viewer
|
void |
draw(Graphics2D gArea,
MissionToJava2DCoord m2j,
boolean flagSelected,
boolean showText,
boolean showWatchRadius,
boolean showRealTime) |
void |
draw(Graphics2D gArea,
MissionToJava2DCoord m2j,
boolean flagSelected,
boolean showText,
boolean showWatchRadius,
boolean showRealTime,
boolean inFocus) |
void |
drawPoint(Point2D p,
Graphics2D gArea,
MissionToJava2DCoord m2j,
boolean flagSelected,
boolean showText,
boolean showWatchRadius,
boolean showRealTime)
draws the point in the 2D mission viewer
|
double |
getMaxEasting(MissionToJava2DCoord m2j) |
double |
getMaxNorthing(MissionToJava2DCoord m2j)
For zooming the map
|
double |
getMinEasting(MissionToJava2DCoord m2j) |
double |
getMinNorthing(MissionToJava2DCoord m2j) |
draw, getDepth, getDescription, getPos, getWatchStandOff, isSelected, setDepth, setDescription, setImage2D, setPos, setPos, setPos, setPos, setValue, setWatchStandOff
protected Point2D xyEnd
public MissionPointCompositeWaypoint()
public MissionPointCompositeWaypoint(Point2D p)
p
- 2D (x, y) position of this MissionPointpublic MissionPointCompositeWaypoint(Point2D p, double z)
p
- 2D (x, y) position of this MissionPointz
- depth to be assigned to this pointpublic double getMaxNorthing(MissionToJava2DCoord m2j)
MissionPoint
getMaxNorthing
in class MissionPoint
public double getMinNorthing(MissionToJava2DCoord m2j)
getMinNorthing
in class MissionPoint
public double getMaxEasting(MissionToJava2DCoord m2j)
getMaxEasting
in class MissionPoint
public double getMinEasting(MissionToJava2DCoord m2j)
getMinEasting
in class MissionPoint
public void draw(Graphics2D gArea, MissionToJava2DCoord m2j, boolean flagSelected, boolean showText, boolean showWatchRadius)
draw
in class MissionPoint
gArea
- drawing canvasm2j
- coordinate translatorflagSelected
- is it selectedshowText
- to draw text?showWatchRadius
- to draw StandOff distance?public void draw(Graphics2D gArea, MissionToJava2DCoord m2j, boolean flagSelected, boolean showText, boolean showWatchRadius, boolean showRealTime)
draw
in class MissionPoint
public void draw(Graphics2D gArea, MissionToJava2DCoord m2j, boolean flagSelected, boolean showText, boolean showWatchRadius, boolean showRealTime, boolean inFocus)
draw
in class MissionPoint
public void drawPoint(Point2D p, Graphics2D gArea, MissionToJava2DCoord m2j, boolean flagSelected, boolean showText, boolean showWatchRadius, boolean showRealTime)
gArea
- drawing canvasm2j
- coordinate translatorflagSelected
- is it selectedshowText
- to draw text?showWatchRadius
- to draw StandOff distance?