public class LineSegmentElement extends SimpleMapElement
AbstractElement.ELEMENT_TYPE
Modifier and Type | Field and Description |
---|---|
java.awt.Color |
color |
double |
length |
centerLocation, copyChars, DEFAULT_ROOT_ELEMENT, dialog, doc, guinea, hiddenCheck, id, isLoadOk, objName, obstacle, obstacleCheck, paramsPanel, selected, takenNames, transp, transparency, userCancel
Constructor and Description |
---|
LineSegmentElement() |
LineSegmentElement(MapGroup mg,
MapType map) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsPoint(LocationType point,
StateRenderer2D renderer) |
java.lang.String |
getTypeAbbrev() |
void |
paint(java.awt.Graphics2D g,
StateRenderer2D renderer,
double rotation) |
asDocument, asDocument, asElement, asElement, asXML, asXML, getElementType, getLayerPriority, getParametersPanel, getType, initialize, load
actionPerformed, compareTo, getCenterLocation, getClone, getId, getIDComparator, getMapGroup, getMissionType, getNEDPosition, getParentMap, getPhi, getPitch, getPitchDeg, getPitchRad, getPsi, getRoll, getRollDeg, getRollRad, getShapePoints, getTheta, getTopHeight, getTransparency, getYaw, getYawDeg, getYawRad, invertColor, isFilled, isLoadOk, isObstacle, isSelected, isUserCancel, load, setCenterLocation, setFilled, setId, setMapGroup, setMissionType, setObstacle, setParentMap, setPhi, setPitch, setPitchDeg, setPsi, setRoll, setRollDeg, setSelected, setTakenNames, setTheta, setTransparency, setYaw, setYawDeg, showParametersDialog, showParametersDialog, toString
public java.lang.String getTypeAbbrev()
getTypeAbbrev
in class AbstractElement
public void paint(java.awt.Graphics2D g, StateRenderer2D renderer, double rotation)
paint
in class SimpleMapElement
public boolean containsPoint(LocationType point, StateRenderer2D renderer)
containsPoint
in class SimpleMapElement
Copyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.