Lines Matching defs:Edge
162 if edge.ep[Edge.LE] is not None:
163 sitenumL = edge.ep[Edge.LE].sitenum
165 if edge.ep[Edge.RE] is not None:
166 sitenumR = edge.ep[Edge.RE].sitenum
201 edge = Edge.bisect(bot,newsite)
207 bisector = Halfedge(edge,Edge.LE)
220 bisector = Halfedge(edge,Edge.RE)
274 pm = Edge.LE
277 pm = Edge.RE
279 # Create an Edge (or line) that is between the two Sites. This
281 edge = Edge.bisect(bot, top)
292 if edge.setEndpoint(Edge.RE - pm, v):
348 class Edge(object):
369 if self.ep[Edge.RE - lrFlag] is None:
375 newedge = Edge()
403 newedge.edgenum = Edge.EDGE_NUM
404 Edge.EDGE_NUM += 1
410 def __init__(self,edge=None,pm=Edge.LE):
414 self.edge = edge # edge list Edge
446 elif self.pm == Edge.LE:
447 return self.edge.reg[Edge.LE]
449 return self.edge.reg[Edge.RE]
454 elif self.pm == Edge.LE:
455 return self.edge.reg[Edge.RE]
457 return self.edge.reg[Edge.LE]
466 if(right_of_site and self.pm == Edge.LE):
469 if(not right_of_site and self.pm == Edge.RE):
497 if(self.pm==Edge.LE):
528 if((rightOfSite and he.pm == Edge.LE) or
529 (not rightOfSite and he.pm == Edge.RE)):
564 he.edge = Edge.DELETED
571 if he is None or he.edge is not Edge.DELETED: