NASA World Wind

gov.nasa.worldwind
Interface Movable

All Known Implementing Classes:
GlobeAnnotation, Pedestal, Polyline, Quadrilateral, SARAnnotation, SurfaceCircle, SurfaceEllipse, SurfaceImage, SurfacePolygon, SurfaceQuad, SurfaceSector, SurfaceShape, SurfaceSquare, 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 shapes 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 shapes reference position.

NASA World Wind