NASA World Wind

gov.nasa.worldwind.examples.util
Class ShapeUtils

java.lang.Object
  extended by gov.nasa.worldwind.examples.util.ShapeUtils

public class ShapeUtils
extends Object


Constructor Summary
ShapeUtils()
           
 
Method Summary
static List<LatLon> createSquareInViewport(WorldWindow wwd, Position position, Angle heading, double sizeInMeters)
           
static Angle getNewShapeHeading(WorldWindow wwd, boolean matchViewHeading)
           
static Position getNewShapePosition(WorldWindow wwd)
           
static double getViewportScaleFactor(WorldWindow wwd)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShapeUtils

public ShapeUtils()
Method Detail

createSquareInViewport

public static List<LatLon> createSquareInViewport(WorldWindow wwd,
                                                  Position position,
                                                  Angle heading,
                                                  double sizeInMeters)

getNewShapeHeading

public static Angle getNewShapeHeading(WorldWindow wwd,
                                       boolean matchViewHeading)

getNewShapePosition

public static Position getNewShapePosition(WorldWindow wwd)

getViewportScaleFactor

public static double getViewportScaleFactor(WorldWindow wwd)

NASA World Wind