forked from s_ranjbar/city_retrofit
modified triangulation method
This commit is contained in:
parent
a258d33dc9
commit
074156f464
|
@ -91,7 +91,7 @@ class Polyhedron:
|
|||
face = []
|
||||
points = polygon.coordinates
|
||||
if len(points) != 3:
|
||||
sub_polygons = polygon.triangulate()
|
||||
sub_polygons = polygon.triangles
|
||||
# todo: I modified this! To be checked @Guille
|
||||
if len(sub_polygons) >= 1:
|
||||
for sub_polygon in sub_polygons:
|
||||
|
|
Loading…
Reference in New Issue
Block a user