NASA World Wind

gov.nasa.worldwind
Interface Movable

All Known Implementing Classes:
AbstractAirspace, AbstractSurfaceShape, AudioPlayerAnnotation, Box, Cake, Cake.Layer, CappedCylinder, ConformingCircle, ConformingCircularPolygon, ConformingEllipse, ConformingEllipticalPolygon, ConformingPolygon, ConformingQuad, ConformingSector, ConformingShape, ConformingSquare, Curtain, DialogAnnotation, ElevationPlane, GlobeAnnotation, MeasureTool.ControlPoint, Orbit, PartialCappedCylinder, Pedestal, PolyArc, Polygon, Polyline, Quadrilateral, Route, SARAnnotation, SectorSelector.RegionShape, SlideShowAnnotation, SphereAirspace, SurfaceCircle, SurfaceConcaveShape, SurfaceEllipse, SurfaceImage, SurfacePolygon, SurfacePolyline, SurfaceQuad, SurfaceSector, SurfaceSquare, TrackAirspace, UserFacingIcon

public interface Movable


Method Summary
 Position getReferencePosition()
           
 void move(Position position)
          Shift the shape over the globe's surface while maintaining its original azimuth, its orientation relative to North.
 void moveTo(Position position)
          Move the shape over the globe's surface while maintaining its original azimuth, its orientation relative to North.
 

Method Detail

getReferencePosition

Position getReferencePosition()

move

void move(Position position)
Shift the shape over the globe's surface while maintaining its original azimuth, its orientation relative to North.

Parameters:
position - the latitude and longitude to add to the shape's reference position.

moveTo

void moveTo(Position position)
Move the shape over the globe's surface while maintaining its original azimuth, its orientation relative to North.

Parameters:
position - the new position of the shape's reference position.

NASA World Wind