public IntersectionGroup(GroupOfLoops posSideGroupOfLoops, GroupOfLoops negSideGroupOfLoops, IEnumerable <PolygonLight> intersection2D, int index) { GroupOfLoops = new HashSet <GroupOfLoops> { posSideGroupOfLoops, negSideGroupOfLoops }; Intersection2D = new List <PolygonLight>(intersection2D); Index = index; }
public IntersectionGroup(GroupOfLoops posSideGroupOfLoops, GroupOfLoops negSideGroupOfLoops, List <Polygon> intersection2D, int index) { GroupOfLoops = new HashSet <GroupOfLoops> { posSideGroupOfLoops, negSideGroupOfLoops }; Intersection2D = intersection2D; Index = index; }