def addEdgePts(self): nvert = self.verts.shape[0] nedge = self.edges.shape[0] npts = QUADlib.countedgepts(nvert, nedge, self.maxL, self.lengths, self.verts, self.edges) self.verts = QUADlib.addedgepts(nvert, nedge, nvert+npts, self.maxL, self.lengths, self.verts, self.edges) if self.output: print 'Done: addEdgePts'