Package gov.nasa.worldwind.util.combine
Class ShapeCombiner
- java.lang.Object
-
- gov.nasa.worldwind.util.combine.ShapeCombiner
-
public class ShapeCombiner extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Globeglobeprotected doubleresolution
-
Constructor Summary
Constructors Constructor Description ShapeCombiner(Globe globe, double resolution)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidassembleBoundingSectors(CombineContext cc, Combinable... shapes)protected CombineContextcreateContext()ContourListdifference(Combinable... shapes)protected voiddifference(CombineContext cc, Combinable... shapes)GlobegetGlobe()doublegetResolution()ContourListintersection(Combinable... shapes)protected voidintersection(CombineContext cc, Combinable... shapes)protected voidintersection(CombineContext cc, Combinable a, Combinable b)protected voidreverseUnion(CombineContext cc, Combinable... shapes)ContourListunion(Combinable... shapes)protected voidunion(CombineContext cc, Combinable... shapes)
-
-
-
Field Detail
-
globe
protected Globe globe
-
resolution
protected double resolution
-
-
Constructor Detail
-
ShapeCombiner
public ShapeCombiner(Globe globe, double resolution)
-
-
Method Detail
-
getGlobe
public Globe getGlobe()
-
getResolution
public double getResolution()
-
union
public ContourList union(Combinable... shapes)
-
intersection
public ContourList intersection(Combinable... shapes)
-
difference
public ContourList difference(Combinable... shapes)
-
createContext
protected CombineContext createContext()
-
union
protected void union(CombineContext cc, Combinable... shapes)
-
reverseUnion
protected void reverseUnion(CombineContext cc, Combinable... shapes)
-
intersection
protected void intersection(CombineContext cc, Combinable... shapes)
-
intersection
protected void intersection(CombineContext cc, Combinable a, Combinable b)
-
difference
protected void difference(CombineContext cc, Combinable... shapes)
-
assembleBoundingSectors
protected void assembleBoundingSectors(CombineContext cc, Combinable... shapes)
-
-