NASA World Wind

gov.nasa.worldwind.render
Class SurfaceQuad

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

public class SurfaceQuad
extends SurfacePolygon


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
SurfaceQuad(Globe globe, LatLon center, double width, double height, Angle orientation)
           
SurfaceQuad(Globe globe, LatLon center, double width, double height, Angle orientation, java.awt.Color interiorColor, java.awt.Color borderColor)
           
SurfaceQuad(Globe globe, LatLon center, double width, double height, Angle orientation, java.awt.Color interiorColor, java.awt.Color borderColor, java.awt.Dimension textureSize)
           
 
Method Summary
 LatLon getCenter()
           
 double getHeight()
           
 Angle getOrientation()
           
 double getWidth()
           
 void setCenter(LatLon center)
           
 void setOrientation(Angle orientation)
           
 void setSize(double width, double height)
           
 
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

SurfaceQuad

public SurfaceQuad(Globe globe,
                   LatLon center,
                   double width,
                   double height,
                   Angle orientation)

SurfaceQuad

public SurfaceQuad(Globe globe,
                   LatLon center,
                   double width,
                   double height,
                   Angle orientation,
                   java.awt.Color interiorColor,
                   java.awt.Color borderColor)

SurfaceQuad

public SurfaceQuad(Globe globe,
                   LatLon center,
                   double width,
                   double height,
                   Angle orientation,
                   java.awt.Color interiorColor,
                   java.awt.Color borderColor,
                   java.awt.Dimension textureSize)
Method Detail

getCenter

public LatLon getCenter()

getHeight

public double getHeight()

getOrientation

public Angle getOrientation()

getWidth

public double getWidth()

setCenter

public void setCenter(LatLon center)

setOrientation

public void setOrientation(Angle orientation)

setSize

public void setSize(double width,
                    double height)

NASA World Wind