public class ShapeUtils
extends java.lang.Object
Constructor and Description |
---|
ShapeUtils() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<Position> |
createPositionSquareInViewport(WorldWindow wwd,
Position position,
Angle heading,
double sizeInMeters) |
static java.util.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 java.util.List<Position> createPositionSquareInViewport(WorldWindow wwd, Position position, Angle heading, double sizeInMeters)
public static java.util.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)