You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Under windows XP/7 with python 2.7
Build poly2tri by MSVC 2008/2010
When I run
python test.py data/dude.dat 100 -200 1
##
## Step 1: Initialize
## NOTE: polyline must be a simple polygon. The polyline's points
## constitute constrained edges. No repeat points!!!
##
cdt = CDT(polyline)
Python crashes at this line
Original issue reported on code.google.com by icearea on 30 Sep 2013 at 7:43
The text was updated successfully, but these errors were encountered:
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 issue reported on code.google.com by
icearea
on 30 Sep 2013 at 7:43The text was updated successfully, but these errors were encountered: