Package gov.nasa.worldwind.render
Class Polygon.BoundaryInfo
- java.lang.Object
-
- gov.nasa.worldwind.render.Polygon.BoundaryInfo
-
- Enclosing class:
- Polygon
protected static class Polygon.BoundaryInfo extends java.lang.Object
Holds information for each contour of the polygon. The vertex values are updated at every geometry regeneration.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<? extends Position>
positions
The shape's boundary positions.protected java.nio.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
Constructors Constructor Description BoundaryInfo(java.util.List<? extends Position> positions)
Construct an instance for a specified boundary.
-
-
-
Field Detail
-
positions
protected java.util.List<? extends Position> positions
The shape's boundary positions.
-
vertices
protected Vec4[] vertices
The shape's computed vertices, arranged in one array.
-
vertexBuffer
protected java.nio.FloatBuffer vertexBuffer
The shape's computed vertices, arranged in a buffer.
-
-
Constructor Detail
-
BoundaryInfo
public BoundaryInfo(java.util.List<? extends Position> positions)
Construct an instance for a specified boundary.- Parameters:
positions
- the boundary positions.
-
-