public class SurfaceSquare extends SurfaceQuad
AbstractSurfaceShape.GeometryKey, AbstractSurfaceShape.SurfaceShapeStateKey
AbstractSurfaceObject.CacheEntry, AbstractSurfaceObject.SurfaceObjectStateKey
center, heading, height, width
activeAttrs, activeGeometry, activeOutlineGeometry, areaMeasurer, areaMeasurerLastModifiedTime, DEFAULT_HIGHLIGHT_MATERIAL, DEFAULT_INTERIOR_MATERIAL, DEFAULT_MAX_EDGE_INTERVALS, DEFAULT_MIN_EDGE_INTERVALS, DEFAULT_OUTLINE_MATERIAL, DEFAULT_PATH_TYPE, DEFAULT_TEXELS_PER_EDGE_INTERVAL, defaultAttrs, dragEnabled, draggableSupport, geometryCache, highlightAttrs, highlighted, maxEdgeIntervals, minEdgeIntervals, normalAttrs, pathType, sectorCache, stackHandler, texelsPerEdgeInterval, texture, vertexBuffer
delegateOwner, drawBoundingSectors, enableBatchPicking, extentCache, lastModifiedTime, nextUniqueId, pickLayer, pickSupport, pickTileBuilder, uniqueId, visible
FORMAT_NOT_SUPPORTED, FORMAT_PARTIALLY_SUPPORTED, FORMAT_SUPPORTED
Constructor and Description |
---|
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).
|
SurfaceSquare(SurfaceSquare source)
Creates a shallow copy of the specified source shape.
|
Modifier and Type | Method and Description |
---|---|
double |
getSize() |
void |
setSize(double size) |
createGeometry, doGetRestorableState, doMoveTo, doMoveTo, doRestoreState, exportAsKML, getCenter, getHeading, getHeight, getLocations, getReferencePosition, getStateKey, getWidth, legacyRestoreState, setCenter, setHeading, setHeight, setSize, setWidth
addIntermediateLocations, applyInteriorState, applyInteriorTextureState, applyModelviewTransform, applyOutlineState, beginDrawing, canContainPole, clearCaches, combine, combineBounds, combineContours, computeEdgeIntervalsPerDegree, computeEdgeIntervalsPerDegree, computeSectors, computeSectors, containsPole, createActiveAttributes, createGeometry, createGeometryKey, cutAlongDateLine, determineActiveAttributes, determineActiveGeometry, doCombineContour, doCombineContours, doDrag, doDrawGeographic, doTessellateInterior, drag, drawGeographic, drawInterior, drawLineStrip, drawOutline, endDrawing, export, generateIntermediateLocations, getActiveAttributes, getActiveGeometry, getArea, getArea, getAttributes, getCachedGeometry, getExtent, getHeight, getHighlightAttributes, getInteriorTexture, getLength, getMinAndMaxEdgeIntervals, getPathType, getPerimeter, getRestorableState, getSectors, getTexelsPerEdgeInterval, getWidth, handleUnsuccessfulInteriorTessellation, isDragEnabled, isExportFormatSupported, isHighlighted, isSectorEmpty, makeOrderedPreRenderable, move, moveTo, moveTo, onShapeChanged, pathTypeFromString, repeatAroundDateline, restoreState, setAttributes, setDragEnabled, setHighlightAttributes, setHighlighted, setMinAndMaxEdgeIntervals, setPathType, setTexelsPerEdgeInterval, setupAreaMeasurer, tessellateInterior, tessellateInteriorVertices
buildPickRepresentation, computeExtent, computeExtent, createPickedObject, createPickTileBuilder, drawBoundingSectors, drawOrderedRenderable, drawPickRepresentation, getDelegateOwner, getDistanceFromEye, getExtent, getUniqueId, intersectsFrustum, intersectsPickFrustum, intersectsVisibleSector, isDrawBoundingSectors, isEnableBatchPicking, isVisible, makeOrderedRenderable, nextUniqueId, pick, pickBatched, pickOrderedRenderable, preRender, render, setDelegateOwner, setDrawBoundingSectors, setEnableBatchPicking, setVisible, updateModifiedTime
onMessage, propertyChange
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
export, isExportFormatSupported
getDelegateOwner, getDistanceFromEye, getExtent, isEnableBatchPicking, isVisible, pick, preRender, setDelegateOwner, setEnableBatchPicking, setVisible
render
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
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.public SurfaceSquare(SurfaceSquare source)
source
- the shape to copy.