Package snap.geom
Class SegmentPathCAG
java.lang.Object
snap.geom.SegmentPathCAG
This class provides SegmentPath utility methods to do Constructive Area Geometry (CAG) operations,
like add, subtract, intersect shapes.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Shape
Returns the intersection shape of two shapes.static Shape
intersectShapes
(Shape aShape1, Shape aShape2) Returns the intersection shape of two shapes.static Shape
subtractShapes
(Shape aShape1, Shape aShape2) Returns the area of the first shape minus the overlapping area of second shape.
-
Constructor Details
-
SegmentPathCAG
public SegmentPathCAG()
-
-
Method Details
-
addShapes
Returns the intersection shape of two shapes. -
subtractShapes
Returns the area of the first shape minus the overlapping area of second shape. -
intersectShapes
Returns the intersection shape of two shapes.
-