NASA World Wind

gov.nasa.worldwind.render
Class Polygon.BoundaryInfo

java.lang.Object
  extended by gov.nasa.worldwind.render.Polygon.BoundaryInfo
Enclosing class:
Polygon

protected static class Polygon.BoundaryInfo
extends Object

Holds information for each contour of the polygon. The vertex values are updated at every geometry regeneration.


Field Summary
protected  List<? extends Position> positions
          The shape's boundary positions.
protected  FloatBuffer vertexBuffer
          The shape's computed vertices, arranged in a buffer.
protected  Vec4[] vertices
          The shape's computed vertices, arranged in one array.
 
Constructor Summary
Polygon.BoundaryInfo(List<? extends Position> positions)
          Construct an instance for a specified boundary.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

positions

protected List<? extends Position> positions
The shape's boundary positions.


vertexBuffer

protected FloatBuffer vertexBuffer
The shape's computed vertices, arranged in a buffer.


vertices

protected Vec4[] vertices
The shape's computed vertices, arranged in one array.

Constructor Detail

Polygon.BoundaryInfo

public Polygon.BoundaryInfo(List<? extends Position> positions)
Construct an instance for a specified boundary.

Parameters:
positions - the boundary positions.

NASA World Wind