V - The type of value for the coordinate system of the polygonpublic interface CompoundPolygon<S extends CompoundPolygon<S,V>,V extends Value<V>> extends Shape<S>, BooleanCombinationBehaviour<CompoundPolygon<?,V>,CompoundPolygon<?,V>>
| Modifier and Type | Interface and Description |
|---|---|
static class |
CompoundPolygon.WindingRule |
getArea, intersects, touchesanonymize, decoupleValue, getValue, immutable, invalidations, over, overCompoundPolygon.WindingRule windingRule()
java.util.Set<ClosedPolyline2<V>> boundaryComponents()
default Bounds2<?> getBounds()
default Value<?> getPerimeter()
getPerimeter in interface Shape<S extends CompoundPolygon<S,V>>default boolean contains(Vector2<?> point)
default boolean touches(Vector2<?> point)
default CompoundPolygon<?,V> and(CompoundPolygon<?,V> value)
and in interface ANDable<CompoundPolygon<?,V extends Value<V>>,CompoundPolygon<?,V extends Value<V>>>default CompoundPolygon<?,V> getAnd(CompoundPolygon<?,V> value)
getAnd in interface ANDable<CompoundPolygon<?,V extends Value<V>>,CompoundPolygon<?,V extends Value<V>>>default CompoundPolygon<?,V> nand(CompoundPolygon<?,V> value)
nand in interface NANDable<CompoundPolygon<?,V extends Value<V>>,CompoundPolygon<?,V extends Value<V>>>default CompoundPolygon<?,V> getNand(CompoundPolygon<?,V> value)
getNand in interface NANDable<CompoundPolygon<?,V extends Value<V>>,CompoundPolygon<?,V extends Value<V>>>default CompoundPolygon<?,V> nor(CompoundPolygon<?,V> value)
nor in interface NORable<CompoundPolygon<?,V extends Value<V>>,CompoundPolygon<?,V extends Value<V>>>default CompoundPolygon<?,V> getNor(CompoundPolygon<?,V> value)
getNor in interface NORable<CompoundPolygon<?,V extends Value<V>>,CompoundPolygon<?,V extends Value<V>>>default CompoundPolygon<?,V> or(CompoundPolygon<?,V> value)
or in interface ORable<CompoundPolygon<?,V extends Value<V>>,CompoundPolygon<?,V extends Value<V>>>default CompoundPolygon<?,V> getOr(CompoundPolygon<?,V> value)
getOr in interface ORable<CompoundPolygon<?,V extends Value<V>>,CompoundPolygon<?,V extends Value<V>>>default CompoundPolygon<?,V> xnor(CompoundPolygon<?,V> value)
xnor in interface XNORable<CompoundPolygon<?,V extends Value<V>>,CompoundPolygon<?,V extends Value<V>>>default CompoundPolygon<?,V> getXnor(CompoundPolygon<?,V> value)
getXnor in interface XNORable<CompoundPolygon<?,V extends Value<V>>,CompoundPolygon<?,V extends Value<V>>>default CompoundPolygon<?,V> xor(CompoundPolygon<?,V> value)
xor in interface XORable<CompoundPolygon<?,V extends Value<V>>,CompoundPolygon<?,V extends Value<V>>>default CompoundPolygon<?,V> getXor(CompoundPolygon<?,V> value)
getXor in interface XORable<CompoundPolygon<?,V extends Value<V>>,CompoundPolygon<?,V extends Value<V>>>