DEFINITION MODULE PPBoolOps;

FROM TwoDthings IMPORT Point;
FROM PolysysDS  IMPORT pSheet, pEdge, BBox;

EXPORT QUALIFIED nullBBox, updateBBox, bbintersect, ebintersect, eeintersect,
                 ppintersect, ssenclose, intersect, selfintersect, getsenseof,
                 emptysheet, disposepolygon, S1cutsS2;

VAR  S1cutsS2 : BOOLEAN;
		 
PROCEDURE nullBBox(VAR b : BBox);
PROCEDURE updateBBox(VAR b : BBox;  VAR p : Point);
PROCEDURE bbintersect(VAR b1, b2 : BBox) : BOOLEAN;
PROCEDURE ebintersect(e : pEdge;  VAR b : BBox) : BOOLEAN;
PROCEDURE getsenseof(s : pSheet);
PROCEDURE eeintersect(prev1, prev2 : pEdge);
PROCEDURE ppintersect(p1, p2 : pSheet);
PROCEDURE intersect(p1, p2 : pSheet);
PROCEDURE selfintersect(s : pSheet);
PROCEDURE ssenclose(s1, s2 : pSheet);
PROCEDURE emptysheet(s : pSheet);
PROCEDURE disposepolygon(p : pSheet);

END PPBoolOps.
