public class SurfaceMultiPolygon extends AbstractSurfaceShape
AbstractSurfaceShape.GeometryKey, AbstractSurfaceShape.SurfaceShapeStateKeyAbstractSurfaceObject.CacheEntry, AbstractSurfaceObject.SurfaceObjectStateKey| Modifier and Type | Field and Description | 
|---|---|
| protected ContourList | boundaries | 
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, vertexBufferdelegateOwner, drawBoundingSectors, enableBatchPicking, extentCache, lastModifiedTime, nextUniqueId, pickLayer, pickSupport, pickTileBuilder, uniqueId, visible| Constructor and Description | 
|---|
| SurfaceMultiPolygon()Constructs a new surface multi polygon with the default attributes and no locations. | 
| SurfaceMultiPolygon(ContourList contours) | 
| SurfaceMultiPolygon(Iterable<? extends LatLon> iterable) | 
| SurfaceMultiPolygon(ShapeAttributes normalAttrs) | 
| SurfaceMultiPolygon(ShapeAttributes normalAttrs,
                   ContourList contours) | 
| SurfaceMultiPolygon(ShapeAttributes normalAttrs,
                   Iterable<? extends LatLon> iterable) | 
| SurfaceMultiPolygon(SurfaceMultiPolygon source) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addAllBoundaries(ContourList contours) | 
| void | addBoundary(Iterable<? extends LatLon> iterable) | 
| protected List<List<LatLon>> | createGeometry(Globe globe,
              double edgeIntervalsPerDegree) | 
| protected void | doGetRestorableState(RestorableSupport rs,
                    RestorableSupport.StateObject context) | 
| protected void | doMoveTo(Globe globe,
        Position oldReferencePosition,
        Position newReferencePosition) | 
| protected void | doMoveTo(Position oldReferencePosition,
        Position newReferencePosition) | 
| protected void | doRestoreState(RestorableSupport rs,
              RestorableSupport.StateObject context) | 
| protected void | exportAsKML(Object output) | 
| Iterable<? extends LatLon> | getBoundary(int index) | 
| int | getBoundaryCount() | 
| Iterable<? extends LatLon> | getLocations(Globe globe)Returns the shape's locations as they appear on the specified  globe, or null if the shape has no
 locations. | 
| Position | getReferencePosition()A position associated with the object that indicates its aggregate geographic position. | 
| protected void | handleUnsuccessfulInteriorTessellation(DrawContext dc)Overridden to clear the multi-polygon's boundary list upon an unsuccessful tessellation attempt. | 
| void | removeAllBoundaries() | 
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, getStateKey, getTexelsPerEdgeInterval, getWidth, isDragEnabled, isExportFormatSupported, isHighlighted, isSectorEmpty, legacyRestoreState, makeOrderedPreRenderable, move, moveTo, moveTo, onShapeChanged, pathTypeFromString, repeatAroundDateline, restoreState, setAttributes, setDragEnabled, setHighlightAttributes, setHighlighted, setMinAndMaxEdgeIntervals, setPathType, setTexelsPerEdgeInterval, setupAreaMeasurer, tessellateInterior, tessellateInteriorVerticesbuildPickRepresentation, 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, updateModifiedTimeonMessage, propertyChangeaddPropertyChangeListener, 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, setValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDelegateOwner, getDistanceFromEye, getExtent, isEnableBatchPicking, isVisible, pick, preRender, setDelegateOwner, setEnableBatchPicking, setVisiblerenderaddPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValuesprotected ContourList boundaries
public SurfaceMultiPolygon()
public SurfaceMultiPolygon(ContourList contours)
public SurfaceMultiPolygon(ShapeAttributes normalAttrs)
public SurfaceMultiPolygon(ShapeAttributes normalAttrs, ContourList contours)
public SurfaceMultiPolygon(ShapeAttributes normalAttrs, Iterable<? extends LatLon> iterable)
public SurfaceMultiPolygon(SurfaceMultiPolygon source)
public void addAllBoundaries(ContourList contours)
protected List<List<LatLon>> createGeometry(Globe globe, double edgeIntervalsPerDegree)
createGeometry in class AbstractSurfaceShapeprotected void doGetRestorableState(RestorableSupport rs, RestorableSupport.StateObject context)
doGetRestorableState in class AbstractSurfaceShapeprotected void doMoveTo(Globe globe, Position oldReferencePosition, Position newReferencePosition)
doMoveTo in class AbstractSurfaceShapeprotected void doMoveTo(Position oldReferencePosition, Position newReferencePosition)
doMoveTo in class AbstractSurfaceShapeprotected void doRestoreState(RestorableSupport rs, RestorableSupport.StateObject context)
doRestoreState in class AbstractSurfaceShapeprotected void exportAsKML(Object output) throws IOException, XMLStreamException
exportAsKML in class AbstractSurfaceShapeIOExceptionXMLStreamExceptionpublic int getBoundaryCount()
public Iterable<? extends LatLon> getLocations(Globe globe)
SurfaceShapeglobe, or null if the shape has no
 locations.globe - the globe the shape is related to.public Position getReferencePosition()
MovablegetReferencePosition in interface MovablegetReferencePosition in interface Movable2getReferencePosition in class AbstractSurfaceShapeprotected void handleUnsuccessfulInteriorTessellation(DrawContext dc)
handleUnsuccessfulInteriorTessellation in class AbstractSurfaceShapedc - the current DrawContext.public void removeAllBoundaries()