Open GoogleCodeExporter opened 9 years ago
When I modify cdt.pxi
def __init__(self, list polyline):
self.polyline = pointvec_factory(0)
for point in polyline:
self.polyline.push_back(new_Point(point.x, point.y))
self.me = new_CDT(self.polyline)
to
def __init__(self, list polyline):
cdef point_vec poly = pointvec_factory(0)
for point in polyline:
poly.push_back(new_Point(point.x, point.y))
self.me = new_CDT(poly)
test.py works correctly
Original comment by icearea
on 1 Oct 2013 at 5:07
Original issue reported on code.google.com by
icearea
on 30 Sep 2013 at 7:43