|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.WWObjectImpl
gov.nasa.worldwind.render.AbstractSurfaceObject
gov.nasa.worldwind.render.AbstractSurfaceShape
gov.nasa.worldwind.render.SurfaceQuad
gov.nasa.worldwind.render.SurfaceSquare
public class SurfaceSquare
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class gov.nasa.worldwind.render.AbstractSurfaceShape |
|---|
AbstractSurfaceShape.GeometryKey, AbstractSurfaceShape.SurfaceShapeStateKey |
| Nested classes/interfaces inherited from class gov.nasa.worldwind.render.AbstractSurfaceObject |
|---|
AbstractSurfaceObject.CacheEntry, AbstractSurfaceObject.SurfaceObjectStateKey |
| Field Summary |
|---|
| Fields inherited from class gov.nasa.worldwind.render.SurfaceQuad |
|---|
center, heading, height, width |
| Fields inherited from class gov.nasa.worldwind.render.AbstractSurfaceObject |
|---|
delegateOwner, drawBoundingSectors, enableBatchPicking, extentCache, lastModifiedTime, nextUniqueId, pickLayer, pickSupport, pickTileBuilder, pickTiles, uniqueId, visible |
| Fields inherited from interface gov.nasa.worldwind.Exportable |
|---|
FORMAT_NOT_SUPPORTED, FORMAT_PARTIALLY_SUPPORTED, FORMAT_SUPPORTED |
| Constructor Summary | |
|---|---|
SurfaceSquare()
Constructs a new surface square with the default attributes, default center location, default size, and default heading. |
|
SurfaceSquare(LatLon center,
double size)
Constructs a new surface square with the default attributes, the specified center location and size (in meters). |
|
SurfaceSquare(LatLon center,
double size,
Angle heading)
Constructs a new surface square with the default attributes, the specified center location, size (in meters), and heading clockwise from North. |
|
SurfaceSquare(ShapeAttributes normalAttrs)
Constructs a new surface square with the specified normal (as opposed to highlight) attributes, default center location, default size, and default heading. |
|
SurfaceSquare(ShapeAttributes normalAttrs,
LatLon center,
double size)
Constructs a new surface square with the specified normal (as opposed to highlight) attributes, the specified center location and size (in meters). |
|
SurfaceSquare(ShapeAttributes normalAttrs,
LatLon center,
double size,
Angle heading)
Constructs a new surface square with the specified normal (as opposed to highlight) attributes, the specified center location and dimensions (in meters). |
|
| Method Summary | |
|---|---|
double |
getSize()
|
void |
setSize(double size)
|
| Methods inherited from class gov.nasa.worldwind.render.SurfaceQuad |
|---|
createGeometry, doGetRestorableState, doMoveTo, doRestoreState, exportAsKML, getCenter, getHeading, getHeight, getLocations, getReferencePosition, getStateKey, getWidth, legacyRestoreState, setCenter, setHeading, setHeight, setSize, setWidth |
| Methods inherited from class gov.nasa.worldwind.WWObjectImpl |
|---|
onMessage, propertyChange |
| Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface gov.nasa.worldwind.Exportable |
|---|
export, isExportFormatSupported |
| Methods inherited from interface gov.nasa.worldwind.render.SurfaceObject |
|---|
getDelegateOwner, getDistanceFromEye, getExtent, isVisible, pick, preRender, render, setDelegateOwner, setVisible |
| 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 |
| Constructor Detail |
|---|
public SurfaceSquare()
public SurfaceSquare(LatLon center,
double size)
center - the square's center location.size - the square's width and height, in meters.
IllegalArgumentException - if the center is null, or if the size is negative.
public SurfaceSquare(LatLon center,
double size,
Angle heading)
center - the square's center location.size - the square's width and height, in meters.heading - the square's heading, clockwise from North.
IllegalArgumentException - if the center or heading are null, or if the size is negative.public SurfaceSquare(ShapeAttributes normalAttrs)
normalAttrs - the normal attributes. May be null, in which case default attributes are used.
public SurfaceSquare(ShapeAttributes normalAttrs,
LatLon center,
double size)
normalAttrs - the normal attributes. May be null, in which case default attributes are used.center - the square's center location.size - the square's width and height, in meters.
IllegalArgumentException - if the center is null, or if the size is negative.
public SurfaceSquare(ShapeAttributes normalAttrs,
LatLon center,
double size,
Angle heading)
normalAttrs - the normal attributes. May be null, in which case default attributes are used.center - the square's center location.size - the square's width and height, in meters.heading - the square's heading, clockwise from North.
IllegalArgumentException - if the center or heading are null, or if the size is negative.| Method Detail |
|---|
public double getSize()
public void setSize(double size)
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||