Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] construct polygon using vertices and edges as input

Subject: CGAL users discussion list

List archive

[cgal-discuss] construct polygon using vertices and edges as input


Chronological Thread 
  • From: Chongke Bi <>
  • To:
  • Subject: [cgal-discuss] construct polygon using vertices and edges as input
  • Date: Wed, 15 Jun 2011 13:48:27 +0900
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=XhxoEeKjoJC4mqGc6M+2jszuhjrWFR5tktuLJzBSfx6hrsycVKCT3CpM8XMkYomhy0 H/ryj+fD3udsLT6y3iISWYOtCaI9E0xjZtJ0WKRvAeHo/z9MW6UJkP39lr31AQmeB+np 2glOFcz1B+6qdJm9nMufE1wEc5L6hvbZJtdzU=

Dear all,

I will explain my question using a simple example.

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
The input of my question is as followings:
- 8 Vertices :
(index of vertices)
-0.500000 -0.500000 0.00000 (0)
0.500000 -0.500000 0.00000 (1)
1.500000 -1.5000000 0.00000 (2)
2.500000 -0.5000000 0.00000 (3)
2.500000 0.500000 0.00000 (4)
1.500000 1.500000 0.00000 (5)
0.500000 0.500000 0.00000 (6)
-0.500000 0.500000 0.00000 (7)
- 9 Edges : 01 (01 represents an edge with vertices 0 and 1)
12
23
34
45
56
61
67
70

The output that I want to get is
- to construct a polygon by using these vertices and edges
or - to get the information of the corresponding surfaces
surface-1 : 0167
surface-2 : 123456
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

Are there any functions or methods to solve this problem.

Thanks.

Best regards,
Chongke

--
Chongke
BI<>



Archive powered by MHonArc 2.6.16.

Top of Page