NASA World Wind

gov.nasa.worldwind.render
Class SurfaceSquare

java.lang.Object
  extended by gov.nasa.worldwind.render.SurfaceShape
      extended by gov.nasa.worldwind.render.SurfacePolygon
          extended by gov.nasa.worldwind.render.SurfaceQuad
              extended by gov.nasa.worldwind.render.SurfaceSquare
All Implemented Interfaces:
Disposable, Movable, Renderable

public class SurfaceSquare
extends SurfaceQuad


Field Summary
 
Fields inherited from class gov.nasa.worldwind.render.SurfaceShape
globe, positions, TEXTURE_SIZE_1024, TEXTURE_SIZE_128, TEXTURE_SIZE_16, TEXTURE_SIZE_256, TEXTURE_SIZE_32, TEXTURE_SIZE_512, TEXTURE_SIZE_64, TEXTURE_SIZE_8
 
Constructor Summary
SurfaceSquare(Globe globe, LatLon center, double width)
           
SurfaceSquare(Globe globe, LatLon center, double width, Color interiorColor, Color borderColor)
           
SurfaceSquare(Globe globe, LatLon center, double width, Color interiorColor, Color borderColor, Dimension textureSize)
           
 
Method Summary
 double getWidth()
           
 void setWidth(double width)
           
 
Methods inherited from class gov.nasa.worldwind.render.SurfaceQuad
getCenter, getHeight, getOrientation, setCenter, setOrientation, setSize
 
Methods inherited from class gov.nasa.worldwind.render.SurfacePolygon
drawShape
 
Methods inherited from class gov.nasa.worldwind.render.SurfaceShape
createEllipse, createTextureTiles, dispose, getBorderColor, getNumEdgeIntervalsPerDegree, getPaint, getPositions, getReferencePosition, getSectors, getStroke, getTextureSize, isAntiAlias, isDrawBorder, isDrawInterior, move, moveTo, render, setAntiAlias, setBorderColor, setDrawBorder, setDrawInterior, setNumEdgeIntervalsPerDegree, setPaint, setPositions, setStroke, setTextureSize, shiftTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SurfaceSquare

public SurfaceSquare(Globe globe,
                     LatLon center,
                     double width)

SurfaceSquare

public SurfaceSquare(Globe globe,
                     LatLon center,
                     double width,
                     Color interiorColor,
                     Color borderColor)

SurfaceSquare

public SurfaceSquare(Globe globe,
                     LatLon center,
                     double width,
                     Color interiorColor,
                     Color borderColor,
                     Dimension textureSize)
Method Detail

getWidth

public double getWidth()
Overrides:
getWidth in class SurfaceQuad

setWidth

public void setWidth(double width)

NASA World Wind