mirror of
https://github.com/jhasse/poly2tri.git
synced 2024-11-26 15:26:12 +01:00
removed assert
This commit is contained in:
parent
91c722558a
commit
3d9b6d8a83
@ -209,7 +209,6 @@ def line_intersect(edge, x):
|
|||||||
class Triangulator(object):
|
class Triangulator(object):
|
||||||
|
|
||||||
def __init__(self, poly_line):
|
def __init__(self, poly_line):
|
||||||
assert len(poly_line) > 3, "Number of points must be > 3"
|
|
||||||
self.polygons = []
|
self.polygons = []
|
||||||
self.trapezoids = []
|
self.trapezoids = []
|
||||||
self.xmono_poly = []
|
self.xmono_poly = []
|
||||||
|
Loading…
Reference in New Issue
Block a user