ortogonal / poly2tri

Automatically exported from code.google.com/p/poly2tri
Other
0 stars 0 forks source link

How to add holes in data file #56

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.A hexagon pologyon with a rectangular hole inside. folowing are the points
10 10,5 20,10 30,20 30,30 20,20 10,10 12,10 25,20 25,20 12
2. the hexagon polygon is 10 10,5 20,10 30,20 30,30 20,20 10,
3.the rectangular hole is 10 12,10 25,20 25,20 12

What is the expected output? What do you see instead?
i want all the edges in the polygon and the rectangular hole to be only 
constrained edges

What version of the product are you using? On what operating system?
waf 1.6.2 (10513)
operating system : fedora17
Please provide any additional information below.
I want to know how to represent a polygon with a hole. In the output screen 
shot all the poly_lines are not constrained edges. 

Original issue reported on code.google.com by shashiku...@gmail.com on 31 Jul 2012 at 7:29

Attachments:

GoogleCodeExporter commented 8 years ago
Everything looks fine. Only thing is that the picture shows the "raw" 
triangulation and not the cleaned polygon triangulation.

Original comment by thahlen@gmail.com on 21 Apr 2013 at 5:59