gov.nasa.worldwind.render
Class ConformingQuad
java.lang.Object
gov.nasa.worldwind.render.ConformingShape
gov.nasa.worldwind.render.ConformingPolygon
gov.nasa.worldwind.render.ConformingQuad
- All Implemented Interfaces:
- Disposable, MeasurableArea, MeasurableLength, Movable, Renderable, Restorable
- Direct Known Subclasses:
- ConformingSquare
public class ConformingQuad
- extends ConformingPolygon
|
Constructor Summary |
ConformingQuad(Globe globe,
LatLon center,
double halfWidth,
double halfHeight,
Angle orientation)
|
ConformingQuad(Globe globe,
LatLon center,
double halfWidth,
double halfHeight,
Angle orientation,
Color fillColor,
Color borderColor)
|
| Methods inherited from class gov.nasa.worldwind.render.ConformingPolygon |
getArea, getHeight, getLength, getPerimeter, getReferencePosition, getWidth, invalidateCache, moveTo, renderBoundary, renderInterior, setOriginalVertices |
| Methods inherited from class gov.nasa.worldwind.render.ConformingShape |
dispose, getBorderColor, getBorderWidth, getInteriorColor, getRestorableState, getUniqueSerialNumber, getUseFrustumCull, isAntiAlias, isDrawBorder, isDrawInterior, isExpired, move, render, restoreState, setAntiAlias, setBorderColor, setBorderWidth, setDrawBorder, setDrawInterior, setInteriorColor, setUseFrustumCull, sizeInBytesOf, updateExpiryCriteria |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConformingQuad
public ConformingQuad(Globe globe,
LatLon center,
double halfWidth,
double halfHeight,
Angle orientation)
ConformingQuad
public ConformingQuad(Globe globe,
LatLon center,
double halfWidth,
double halfHeight,
Angle orientation,
Color fillColor,
Color borderColor)
doGetRestorableState
protected void doGetRestorableState(RestorableSupport rs,
RestorableSupport.StateObject context)
- Overrides:
doGetRestorableState in class ConformingPolygon
doRestoreState
protected void doRestoreState(RestorableSupport rs,
RestorableSupport.StateObject context)
- Overrides:
doRestoreState in class ConformingPolygon
getCenter
public LatLon getCenter()
getHalfHeight
public double getHalfHeight()
getHalfWidth
public double getHalfWidth()
getOrientation
public Angle getOrientation()
makePositions
public static Iterable<LatLon> makePositions(Globe globe,
LatLon center,
double width,
double height,
Angle orientation)
setCenter
public void setCenter(LatLon center)
setOrientation
public void setOrientation(Angle orientation)
setSize
public void setSize(double width,
double height)