NASA World Wind

gov.nasa.worldwind.symbology
Interface TacticalQuad

All Superinterfaces:
AVList, Highlightable, Movable, Renderable, TacticalGraphic
All Known Implementing Classes:
AbstractRectangularGraphic, RectangularFireSupportArea, RectangularPositionArea, RectangularTarget

public interface TacticalQuad
extends TacticalGraphic

An interface for tactical graphics shaped like a quadrilaterals. This interface provides methods to set the length and width of the quad. The length and width can also be set using the SymbologyConstants.DISTANCE modifier.

See Also:
TacticalGraphicFactory.createQuad(String, Iterable, gov.nasa.worldwind.avlist.AVList)

Method Summary
 double getLength()
          Indicates the length of the quad.
 double getWidth()
          Indicates the width of the quad.
 void setLength(double length)
          Specifies the length of the quad.
 void setWidth(double width)
          Specifies the width of the quad.
 
Methods inherited from interface gov.nasa.worldwind.symbology.TacticalGraphic
getAttributes, getDelegateOwner, getHighlightAttributes, getIdentifier, getLabelOffset, getModifier, getPositions, getText, getUnitsFormat, isShowGraphicModifiers, isShowHostileIndicator, isShowLocation, isShowTextModifiers, isVisible, setAttributes, setDelegateOwner, setHighlightAttributes, setLabelOffset, setModifier, setPositions, setShowGraphicModifiers, setShowHostileIndicator, setShowLocation, setShowTextModifiers, setText, setUnitsFormat, setVisible
 
Methods inherited from interface gov.nasa.worldwind.render.Renderable
render
 
Methods inherited from interface gov.nasa.worldwind.render.Highlightable
isHighlighted, setHighlighted
 
Methods inherited from interface gov.nasa.worldwind.Movable
getReferencePosition, move, moveTo
 
Methods inherited from interface gov.nasa.worldwind.avlist.AVList
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
 

Method Detail

getLength

double getLength()
Indicates the length of the quad.

Returns:
The length of the quad, in meters.

getWidth

double getWidth()
Indicates the width of the quad.

Returns:
The width of the quad, in meters.

setLength

void setLength(double length)
Specifies the length of the quad.

Parameters:
length - New length, in meters.

setWidth

void setWidth(double width)
Specifies the width of the quad.

Parameters:
width - New width, in meters.

NASA World Wind