Class ShapeCombining


  • public class ShapeCombining
    extends ApplicationTemplate
    Shows how to use the Combinable interface and the ShapeCombiner 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.

    • Constructor Detail

      • ShapeCombining

        public ShapeCombining()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)