Lines Matching refs:regions
51 This includes utility functions to compare overlap of regions.'''
142 '''A set of regions (ranges). Basically a region with holes.
143 Includes utility functions to merge regions and figure out if
144 something is in one of the regions.'''
146 self.regions = []
151 copy.regions.extend(self.regions)
155 self.regions.append(Region(*args))
158 self.regions.extend(Region(a) for a in args)
161 for region in self.regions:
168 return len(self.regions)
171 A = self.regions
172 B = other.regions
222 self.regions = R
231 return 'Regions(%s)' % ([(r[0], r[1]) for r in self.regions], )