Subject: CGAL users discussion list
List archive
- From: "zhoufang8811" <>
- To: "cgal-discuss" <>
- Subject: [cgal-discuss] polyhedron problem
- Date: Wed, 14 Apr 2010 20:02:54 +0800
I find that Polyhedron_3<Traits> does not
consider ther coordinates of the points, so I insert two triangles like
this:
Point_3 p( 0.0, 0.0, 0.0);
Point_3 q( 1.0, 0.0, 0.0);
Point_3 r( 1.0, 1.0, 0.0);
Point_3 s( 0.0, 1.0, 0.0);
s _ _ _ _ r
|\ \ |
| \ \ |
| \ \ |
| \ \ |
|_ _ _ \ \ |
p q
Polyhedron P;
P.make_triangle(p, q, s);
P.make_triangle(s,q ,r);
but the triangle 'pqs' and 'sqr' do not connect correctly, it has four
halfedges along the segment 'sq'.
I want to merge the different edges 'sq' in the two triangles,
so the rectangle 'spqr' will be colsed. Is there any
way? 2010-04-14
zhoufang8811
|
- [cgal-discuss] polyhedron problem, zhoufang8811, 04/14/2010
- Re: [cgal-discuss] polyhedron problem, Sebastien Loriot (GeometryFactory), 04/14/2010
- RE: [cgal-discuss] polyhedron problem, Mastoureshgh, Sahel, 04/14/2010
- Re: [cgal-discuss] polyhedron problem, Sebastien Loriot (GeometryFactory), 04/14/2010
Archive powered by MHonArc 2.6.16.