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(java.lang.Iterable<? extends Position> positions) |
protected static double[] |
computeAltitudesToFitPositions(WorldWindow wwd,
SegmentPlane segmentPlane,
java.lang.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,
java.lang.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 java.lang.String |
formatAngle(java.lang.String format,
Angle angle) |
protected static java.lang.String |
formatElevation(java.lang.String elevationFormat,
double elevation) |
java.lang.String |
getAngleFormat() |
SegmentPlaneAttributes |
getAttributes() |
java.lang.String |
getElevationUnit() |
double[] |
getGridCellDimensions() |
Position |
getIntersectionPosition(Line line) |
double |
getObjectSize(java.lang.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(java.beans.PropertyChangeEvent e)
The property change listener for this instance.
|
void |
setAngleFormat(java.lang.String angleFormat) |
void |
setArmed(boolean armed) |
void |
setAttributes(SegmentPlaneAttributes attributes) |
void |
setElevationUnit(java.lang.String elevationUnit) |
void |
setGridCellDimensions(double width,
double height) |
void |
setObjectVisible(java.lang.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(java.lang.Iterable<? extends Position> positions)
protected static double[] computeAltitudesToFitPositions(WorldWindow wwd, SegmentPlane segmentPlane, java.lang.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, java.lang.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)
protected static java.lang.String formatAngle(java.lang.String format, Angle angle)
protected static java.lang.String formatElevation(java.lang.String elevationFormat, double elevation)
public java.lang.String getAngleFormat()
public SegmentPlaneAttributes getAttributes()
public java.lang.String getElevationUnit()
public double[] getGridCellDimensions()
public double getObjectSize(java.lang.String key, Vec4 point)
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(java.beans.PropertyChangeEvent e)
WWObjectImpl
propertyChange
in interface java.beans.PropertyChangeListener
propertyChange
in class WWObjectImpl
e
- the eventpublic void setAngleFormat(java.lang.String angleFormat)
public void setArmed(boolean armed)
public void setAttributes(SegmentPlaneAttributes attributes)
public void setElevationUnit(java.lang.String elevationUnit)
public void setGridCellDimensions(double width, double height)
public void setObjectVisible(java.lang.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)