gov.nasa.worldwind
Interface Movable
- All Known Implementing Classes:
- AbstractAirspace, AbstractSurfaceShape, Box, Cake, Cake.Layer, CappedCylinder, ConformingCircle, ConformingCircularPolygon, ConformingEllipse, ConformingEllipticalPolygon, ConformingPolygon, ConformingQuad, ConformingSector, ConformingShape, ConformingSquare, Curtain, GlobeAnnotation, MeasureTool.ControlPoint, Orbit, PartialCappedCylinder, Pedestal, PolyArc, Polygon, Polyline, Quadrilateral, Route, SARAnnotation, SectorSelector.RegionShape, SphereAirspace, SurfaceCircle, SurfaceConvexShape, 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. |
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.