|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.util.SectorVisibilityTree
public class SectorVisibilityTree
Determines the visible sectors.
| Constructor Summary | |
|---|---|
SectorVisibilityTree()
|
|
| Method Summary | |
|---|---|
void |
clearSectors()
|
ArrayList<Sector> |
getSectors()
|
double |
getSectorSize()
|
long |
getTimeStamp()
|
List<Sector> |
refresh(DrawContext dc,
double sectorSize)
Determines the visible sectors at a specifed resolution within the draw context's current visible sector. |
List<Sector> |
refresh(DrawContext dc,
double sectorSize,
List<Sector> searchSectors)
Determines the visible sectors at a specified resolution within a collection of sectors. |
List<Sector> |
refresh(DrawContext dc,
double sectorSize,
Sector searchSector)
Determines the visible sectors at a specified resolution within a specified sector. |
void |
setTimeStamp(long timeStamp)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SectorVisibilityTree()
| Method Detail |
|---|
public void clearSectors()
public ArrayList<Sector> getSectors()
public double getSectorSize()
public long getTimeStamp()
public List<Sector> refresh(DrawContext dc,
double sectorSize)
dc - the current draw contextsectorSize - the granularity of sector visibility, in degrees. All visible sectors of this size are found.
The value must be in the range, 1 second <= sectorSize <= 180 degrees.
IllegalArgumentException - if the draw context is null.
public List<Sector> refresh(DrawContext dc,
double sectorSize,
List<Sector> searchSectors)
dc - the current draw contextsectorSize - the granularity of sector visibility, in degrees. All visible sectors of this size are The
value must be in the range, 1 second <= sectorSize <= 180 degrees. found.searchSectors - the sectors for which to determine visibility.
IllegalArgumentException - if the draw context is null, the sector size is less than or equal to zero or
the search sector list is null.
public List<Sector> refresh(DrawContext dc,
double sectorSize,
Sector searchSector)
dc - the current draw contextsectorSize - the granularity of sector visibility, in degrees. All visible sectors of this size are found.
The value must be in the range, 1 second <= sectorSize <= 180 degrees.searchSector - the overall sector for which to determine visibility. May be null, in which case the current
visible sector of the draw context is used.
IllegalArgumentException - if the draw context is null, the sector size is less than or equal to zero, or
the search sector list is null.public void setTimeStamp(long timeStamp)
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||