public class SARSegmentPlane extends WWObjectImpl
Modifier and Type | Class and Description |
---|---|
static class |
SARSegmentPlane.AltitudeLabelAttributes |
static class |
SARSegmentPlane.AxisLabelAttributes |
static class |
SARSegmentPlane.ControlPointLabelAttributes |
static class |
SARSegmentPlane.MessageLabelAttributes |
static class |
SARSegmentPlane.SARLabelAttributes |
Constructor and Description |
---|
SARSegmentPlane() |
Modifier and Type | Method and Description |
---|---|
double[] |
computeAltitudesToFitPositions(Iterable<? extends Position> positions) |
protected static double[] |
computeAltitudesToFitPositions(WorldWindow wwd,
SegmentPlane segmentPlane,
Iterable<? extends Position> positions,
boolean recallUserDefinedVGap) |
protected static Angle |
computeInitialHorizontalGap(WorldWindow wwd,
SegmentPlane segmentPlane,
Position position1,
Position position2) |
protected static double |
computeInitialVerticalGap(WorldWindow wwd,
SegmentPlane segmentPlane,
Iterable<? extends Position> positions) |
LatLon[] |
computeLocationsToFitPositions(Position position1,
Position position2) |
protected static LatLon[] |
computeLocationsToFitPositions(WorldWindow wwd,
SegmentPlane segmentPlane,
Position position1,
Position position2,
boolean recallUserDefinedHGap) |
protected static String |
formatAngle(String format,
Angle angle) |
protected static String |
formatElevation(String elevationFormat,
double elevation) |
String |
getAngleFormat() |
SegmentPlaneAttributes |
getAttributes() |
String |
getElevationUnit() |
double[] |
getGridCellDimensions() |
Position |
getIntersectionPosition(Line line) |
double |
getObjectSize(String key,
Vec4 point) |
double[] |
getPlaneAltitudes() |
LatLon[] |
getPlaneLocations() |
Position[] |
getSegmentPositions() |
protected static double |
getSurfaceElevationAt(WorldWindow wwd,
Angle latitude,
Angle longitude) |
WorldWindow |
getWorldWindow() |
protected void |
initSegmentPlane() |
boolean |
isArmed() |
boolean |
isSnapToGrid() |
boolean |
isVisible() |
void |
propertyChange(PropertyChangeEvent e)
The property change listener for this instance.
|
void |
setAngleFormat(String angleFormat) |
void |
setArmed(boolean armed) |
void |
setAttributes(SegmentPlaneAttributes attributes) |
void |
setElevationUnit(String elevationUnit) |
void |
setGridCellDimensions(double width,
double height) |
void |
setObjectVisible(String key,
boolean geometryVisible,
boolean labelVisible) |
void |
setPlaneAltitudes(double lowerAltitude,
double upperAltitude) |
void |
setPlaneLocations(LatLon location1,
LatLon location2) |
void |
setSegmentPositions(Position position1,
Position position2) |
void |
setSnapToGrid(boolean snapToGrid) |
void |
setVisible(boolean visible) |
void |
setWorldWindow(WorldWindow wwd) |
onMessage
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
public double[] computeAltitudesToFitPositions(Iterable<? extends Position> positions)
protected static double[] computeAltitudesToFitPositions(WorldWindow wwd, SegmentPlane segmentPlane, Iterable<? extends Position> positions, boolean recallUserDefinedVGap)
protected static Angle computeInitialHorizontalGap(WorldWindow wwd, SegmentPlane segmentPlane, Position position1, Position position2)
protected static double computeInitialVerticalGap(WorldWindow wwd, SegmentPlane segmentPlane, Iterable<? extends Position> positions)
public LatLon[] computeLocationsToFitPositions(Position position1, Position position2)
protected static LatLon[] computeLocationsToFitPositions(WorldWindow wwd, SegmentPlane segmentPlane, Position position1, Position position2, boolean recallUserDefinedHGap)
public String getAngleFormat()
public SegmentPlaneAttributes getAttributes()
public String getElevationUnit()
public double[] getGridCellDimensions()
public double[] getPlaneAltitudes()
public LatLon[] getPlaneLocations()
public Position[] getSegmentPositions()
protected static double getSurfaceElevationAt(WorldWindow wwd, Angle latitude, Angle longitude)
public WorldWindow getWorldWindow()
protected void initSegmentPlane()
public boolean isArmed()
public boolean isSnapToGrid()
public boolean isVisible()
public void propertyChange(PropertyChangeEvent e)
WWObjectImpl
propertyChange
in interface PropertyChangeListener
propertyChange
in class WWObjectImpl
e
- the eventpublic void setAngleFormat(String angleFormat)
public void setArmed(boolean armed)
public void setAttributes(SegmentPlaneAttributes attributes)
public void setElevationUnit(String elevationUnit)
public void setGridCellDimensions(double width, double height)
public void setObjectVisible(String key, boolean geometryVisible, boolean labelVisible)
public void setPlaneAltitudes(double lowerAltitude, double upperAltitude)
public void setSnapToGrid(boolean snapToGrid)
public void setVisible(boolean visible)
public void setWorldWindow(WorldWindow wwd)