gov.nasa.worldwind.geom
Class Quadrilateral
java.lang.Object
gov.nasa.worldwind.geom.Quadrilateral
- All Implemented Interfaces:
- Renderable
public class Quadrilateral
- extends Object
- implements Renderable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Quadrilateral
public Quadrilateral(LatLon southwestCorner,
LatLon northeastCorner,
double elevation)
getAntiAliasHint
public int getAntiAliasHint()
getColor
public Color getColor()
getCorners
public LatLon[] getCorners()
getElevation
public double getElevation()
render
public void render(DrawContext dc)
- Description copied from interface:
Renderable
- Causes this
Renderable to render itself using the DrawContext provided. The
DrawContext provides the elevation model, openGl instance, globe and other information required for
drawing. It is recommended that the DrawContext is non-null as most implementations do not support
null DrawContexts.
- Specified by:
render in interface Renderable
- Parameters:
dc - the DrawContext to be used- See Also:
DrawContext
setAntiAliasHint
public void setAntiAliasHint(int hint)
setColor
public void setColor(Color color)
setCorners
public void setCorners(LatLon southWest,
LatLon northEast)
setElevation
public void setElevation(double elevation)