.TH BoolLoopsFromInterList 3 "IRIT Version 6.0" .SH NAME BoolLoopsFromInterList() .SH SYNOPSIS .nf .ft B bool_lib/bool1low.c:979 .nf .ft B void BoolLoopsFromInterList(IPPolygonStruct *Pl, InterSegListStruct **PClosed, InterSegListStruct **POpen) .SH DESCRIPTION Given a polygon with the intersection list, creates the polylines loop(s) out of it, which can be one of the two: 1. Closed loop - all the intersections create a loop in one polygon. 2. Open polyline - if the intersections cross the polygon boundary. In this case the two end point of the polyline, must lay on polygon boundary. In both cases, the polyline will be as follows: First point at first list element at PtSeg[0] (see InterSegmentStruct). Second point at first list element at PtSeg[1] (see InterSegmentStruct). Point i at list element (i-1) at PtSeg[0] (PtSeg[1] is not used!). In the closed loop case the last point is equal to first. Both cases returns NULL terminated list. .SH PARAMETERS: Pl: Polygon with intersection information in its PAux slot. PClosed: To be updated with the closed loops found in Pl. POpen: To be updated with the open loops found in Pl. .SH FUNCTION RETURN VALUE void .LP .SH ORIGIN (C) Copyright 1989/90-95 Gershon Elber, Technion, IIT