public class ShapeUtils extends Object
Constructor and Description |
---|
ShapeUtils() |
Modifier and Type | Method and Description |
---|---|
static List<Position> |
createPositionSquareInViewport(WorldWindow wwd,
Position position,
Angle heading,
double sizeInMeters) |
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) |
public static List<Position> createPositionSquareInViewport(WorldWindow wwd, Position position, Angle heading, double sizeInMeters)
public static List<LatLon> createSquareInViewport(WorldWindow wwd, Position position, Angle heading, double sizeInMeters)
public static Angle getNewShapeHeading(WorldWindow wwd, boolean matchViewHeading)
public static Position getNewShapePosition(WorldWindow wwd)
public static double getViewportScaleFactor(WorldWindow wwd)