Package Map
Class Vessel
- All Implemented Interfaces:
Serializable,Cloneable,Icon,ManagedParameters
- See Also:
-
Field Summary
FieldsFields inherited from class PamView.PamSymbol
ICON_HORIZONTAL_CENTRE, ICON_HORIZONTAL_FILL, ICON_HORIZONTAL_LEFT, ICON_HORIZONTAL_RIGHT, ICON_STYLE_LINE, ICON_STYLE_SYMBOL, ICON_VERTICAL_BOTTOM, ICON_VERTICAL_FILL, ICON_VERTICAL_MIDDLE, ICON_VERTICAL_TOP, SYMBOL_LINESTART, SYMBOL_NONE, SYMBOL_REGIONSTART -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondrawShip(Graphics2D g2d, MapRectProjector rectProj) Draw the shipGet a set of data that describes all of the parameters in a classgetShipGps(boolean predict) double[]double[]voidvoidsetPixelsPerMetre(double pixelsPerMetre) voidsetPredictionArrow(int predictionArrow) voidsetShipColor(Color shipColor) voidsetShipGps(GpsData shipGps) voidvoidsetVesselDimension(double dimA, double dimB, double dimC, double dimD) Methods inherited from class PamView.PamSymbol
clone, draw, draw, draw, draw, draw, draw, draw, drawArrow, drawArrow, getDrawnPolygon, getFillColor, getHeight, getIconHeight, getIconHorizontalAlignment, getIconStyle, getIconVerticalAlignment, getIconWidth, getLineColor, getSymbol, getWidth, isFill, isSolidShape, makeKeyItem, setFill, setFillColor, setIconHorizontalAlignment, setIconStyle, setIconVerticalAlignment, setLineColor, setSymbol, toStringMethods inherited from class PamView.PamSymbolBase
getDHeight, getDWidth, getLineThickness, getSymbolData, getTextCode, getTextCode, interpretTextCode, setHeight, setLineThickness, setSymbolData, setWidth
-
Field Details
-
vesselColor
-
shipOutline
-
shipPolygon
-
shipPolygonLatLog
-
-
Constructor Details
-
Vessel
-
-
Method Details
-
setPixelsPerMetre
public void setPixelsPerMetre(double pixelsPerMetre) -
setVesselDimension
public void setVesselDimension(double dimA, double dimB, double dimC, double dimD) -
setPredictionArrow
public void setPredictionArrow(int predictionArrow) -
getShipColor
-
setShipColor
-
setShipOutline
public void setShipOutline() -
drawShip
Draw the ship- Parameters:
g2d- Graphics contextrectProj- graphics projector- Returns:
- 3D plot coordinate.
-
drawShip
-
getShipGps
-
setShipGps
-
getShipLLD
-
getShipPosition
-
paintIcon
-
getXPoints
public double[] getXPoints()- Overrides:
getXPointsin classPamSymbol
-
getYPoints
public double[] getYPoints()- Overrides:
getYPointsin classPamSymbol
-
getParameterSet
Description copied from interface:ManagedParametersGet a set of data that describes all of the parameters in a class- Specified by:
getParameterSetin interfaceManagedParameters- Overrides:
getParameterSetin classPamSymbol- Returns:
- description of the parameters in a class.
-