Package gov.nasa.worldwindx.examples
Class ShapeCombining
- java.lang.Object
-
- gov.nasa.worldwindx.examples.ApplicationTemplate
-
- gov.nasa.worldwindx.examples.ShapeCombining
-
public class ShapeCombining extends ApplicationTemplate
Shows how to use theCombinable
interface and theShapeCombiner
class to combine WorldWind surface shapes into a complex set of contours by using boolean operations.This example creates two static SurfaceCircle instances that partially overlap and displays them in a layer named "Original". A ShapeCombiner is used to combine the two surface circles into a potentially complex set of contours using boolean operations. Three examples of such operations are given: union, intersection and difference. The result of each operation is displayed in a separate layer beneath the original shapes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShapeCombining.AppFrame
-
Nested classes/interfaces inherited from class gov.nasa.worldwindx.examples.ApplicationTemplate
ApplicationTemplate.AppPanel
-
-
Constructor Summary
Constructors Constructor Description ShapeCombining()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
-
Methods inherited from class gov.nasa.worldwindx.examples.ApplicationTemplate
insertAfterPlacenames, insertBeforeCompass, insertBeforeLayerName, insertBeforePlacenames, start
-
-