NASA World Wind

gov.nasa.worldwind.render
Class SurfaceEllipse

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

public class SurfaceEllipse
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
SurfaceEllipse(Globe globe, LatLon center, double majorAxisLength, double minorAxisLength, Angle orientation, int intervals)
           
SurfaceEllipse(Globe globe, LatLon center, double majorAxisLength, double minorAxisLength, Angle orientation, int intervals, java.awt.Color interiorColor, java.awt.Color borderColor)
           
SurfaceEllipse(Globe globe, LatLon center, double majorAxisLength, double minorAxisLength, Angle orientation, int intervals, java.awt.Color interiorColor, java.awt.Color borderColor, java.awt.Dimension textureSize)
           
 
Method Summary
 LatLon getCenter()
           
 int getIntervals()
           
 double getMajorAxisLength()
           
 double getMinorAxisLength()
           
 Angle getOrientation()
           
 void setAxisLengths(double majorAxisLength, double minorAxisLength)
           
 void setCenter(LatLon center)
           
 void setIntervals(int intervals)
           
 void setOrientation(Angle orientation)
           
 
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

SurfaceEllipse

public SurfaceEllipse(Globe globe,
                      LatLon center,
                      double majorAxisLength,
                      double minorAxisLength,
                      Angle orientation,
                      int intervals)

SurfaceEllipse

public SurfaceEllipse(Globe globe,
                      LatLon center,
                      double majorAxisLength,
                      double minorAxisLength,
                      Angle orientation,
                      int intervals,
                      java.awt.Color interiorColor,
                      java.awt.Color borderColor)

SurfaceEllipse

public SurfaceEllipse(Globe globe,
                      LatLon center,
                      double majorAxisLength,
                      double minorAxisLength,
                      Angle orientation,
                      int intervals,
                      java.awt.Color interiorColor,
                      java.awt.Color borderColor,
                      java.awt.Dimension textureSize)
Method Detail

getCenter

public LatLon getCenter()

getIntervals

public int getIntervals()

getMajorAxisLength

public double getMajorAxisLength()

getMinorAxisLength

public double getMinorAxisLength()

getOrientation

public Angle getOrientation()

setAxisLengths

public void setAxisLengths(double majorAxisLength,
                           double minorAxisLength)

setCenter

public void setCenter(LatLon center)

setIntervals

public void setIntervals(int intervals)

setOrientation

public void setOrientation(Angle orientation)

NASA World Wind