NASA World Wind

gov.nasa.worldwind.geom
Interface ExtentHolder

All Known Subinterfaces:
Airspace, SurfaceShape
All Known Implementing Classes:
AbstractAirspace, AbstractGeneralShape, AbstractShape, AbstractSurfaceShape, AntennaAxes, AntennaModel, Box, Box, Cake, Cake.Layer, CappedCylinder, ColladaMeshShape, Cone, Curtain, Cylinder, DirectedPath, ElevationPlane, Ellipsoid, ExtrudedPolygon, KMLExtrudedPolygonImpl, KMLGroundOverlayPolygonImpl, KMLLineStringPlacemarkImpl, KMLPolygonImpl, KMLSurfacePolygonImpl, MultiResolutionPath, Orbit, PartialCappedCylinder, Path, PolyArc, Polygon, Polygon, Polyline, Pyramid, RigidShape, Route, SectorSelector.RegionShape, SphereAirspace, SurfaceCircle, SurfaceEllipse, SurfacePolygon, SurfacePolygons, SurfacePolyline, SurfacePolylines, SurfaceQuad, SurfaceSector, SurfaceSquare, TrackAirspace, Wedge

public interface ExtentHolder

ExtentHolder provides an interface to query an object's enclosing volume in model coordinates.

See Also:
Extent

Method Summary
 Extent getExtent(Globe globe, double verticalExaggeration)
          Returns the objects enclosing volume as an Extent in model coordinates, given a specified Globe and vertical exaggeration (see SceneController.getVerticalExaggeration().
 

Method Detail

getExtent

Extent getExtent(Globe globe,
                 double verticalExaggeration)
Returns the objects enclosing volume as an Extent in model coordinates, given a specified Globe and vertical exaggeration (see SceneController.getVerticalExaggeration().

Parameters:
globe - the Globe the object is related to.
verticalExaggeration - the vertical exaggeration of the scene containing this object.
Returns:
the object's Extent in model coordinates.
Throws:
IllegalArgumentException - if the Globe is null.

NASA World Wind