|
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.SurfaceEllipse
gov.nasa.worldwind.render.SurfaceCircle
public class SurfaceCircle
| 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.SurfaceEllipse |
|---|
center, DEFAULT_NUM_INTERVALS, heading, majorRadius, MIN_NUM_INTERVALS, minorRadius |
| Fields inherited from class gov.nasa.worldwind.render.AbstractSurfaceObject |
|---|
delegateOwner, drawBoundingSectors, enableBatchPicking, extentCache, lastModifiedTime, nextUniqueId, pickLayer, pickSupport, pickTileBuilder, pickTiles, uniqueId, visible |
| Constructor Summary | |
|---|---|
SurfaceCircle()
Constructs a new surface circle with the default attributes, default center location and default radius. |
|
SurfaceCircle(LatLon center,
double radius)
Constructs a new surface circle with the default attributes, the specified center location and radius (in meters). |
|
SurfaceCircle(LatLon center,
double radius,
int intervals)
Constructs a new surface circle with the default attributes, the specified center location, radius (in meters), and initial number of geometry intervals. |
|
SurfaceCircle(ShapeAttributes normalAttrs)
Constructs a new surface circle with the specified normal (as opposed to highlight) attributes, default center location, and default radius. |
|
SurfaceCircle(ShapeAttributes normalAttrs,
LatLon center,
double radius)
Constructs a new surface circle with the specified normal (as opposed to highlight) attributes, the specified center location, and radius (in meters). |
|
SurfaceCircle(ShapeAttributes normalAttrs,
LatLon center,
double radius,
int intervals)
Constructs a new surface circle with the specified normal (as opposed to highlight) attributes, the specified center location, radius (in meters), and initial number of geometry intervals. |
|
| Method Summary | |
|---|---|
double |
getRadius()
|
void |
setRadius(double radius)
|
| Methods inherited from class gov.nasa.worldwind.render.SurfaceEllipse |
|---|
computeLocations, computeNumEdgeIntervals, computeNumIntervals, createGeometry, doGetRestorableState, doMoveTo, doRestoreState, getCenter, getHeading, getIntervals, getLocations, getMajorRadius, getMinorRadius, getReferencePosition, getStateKey, legacyRestoreState, setCenter, setHeading, setIntervals, setMajorRadius, setMinorRadius, setRadii |
| 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.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 SurfaceCircle()
public SurfaceCircle(LatLon center,
double radius)
center - the circle's center location.radius - the circle's radius, in meters.
IllegalArgumentException - if the center is null, or if the radius is negative.
public SurfaceCircle(LatLon center,
double radius,
int intervals)
center - the circle's center location.radius - the circle's radius, in meters.intervals - the initial number of intervals (or slices) defining the circle's geometry.
IllegalArgumentException - if the center is null, if the radius is negative, or if the number of intervals
is less than 8.public SurfaceCircle(ShapeAttributes normalAttrs)
normalAttrs - the normal attributes. May be null, in which case default attributes are used.
public SurfaceCircle(ShapeAttributes normalAttrs,
LatLon center,
double radius)
normalAttrs - the normal attributes. May be null, in which case default attributes are used.center - the circle's center location.radius - the circle's radius, in meters.
IllegalArgumentException - if the center is null, or if the radius is negative.
public SurfaceCircle(ShapeAttributes normalAttrs,
LatLon center,
double radius,
int intervals)
normalAttrs - the normal attributes. May be null, in which case default attributes are used.center - the circle's center location.radius - the circle's radius, in meters.intervals - the initial number of intervals (or slices) defining the circle's geometry.
IllegalArgumentException - if the center is null, if the radius is negative, or if the number of intervals
is less than 8.| Method Detail |
|---|
public double getRadius()
public void setRadius(double radius)
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||