Subject: CGAL users discussion list
List archive
Polyhedron_3 and preserving the combinatorical information of its input points..
Chronological Thread
- From: "Thomas Zangl - Home" <>
- To: <>
- Subject: Polyhedron_3 and preserving the combinatorical information of its input points..
- Date: Wed, 25 Jul 2007 18:58:59 +0200
Dear List!
I am able to create a Polyhedron_3 out of a bunch of triangles
(Point_3) and their combinatorical information (indices of the
vertices which form a triangle).
I now want to create a Polyhedron_3 which uses both types of
information: the vertices (as coordinates) and their combinatorical
relation. The incremental_builder was able to insert triangles together
with the combinatorical information into a polyhedron_3 but without I
am lost :-)
So, whats the proper way to create a polyhedron_3 and to avoid the
duplication of vertices? I insert triangles currently this way:
poly_.make_triangle(p1, p2, p3) // pX is a Point3
Here's the combinatorical information lost and duplicated vertices
created ... :-/
(I now have 6 faces and 18 vertices resulting in a non-closed
polyhedron. I know that the 6 faces are forming a closed polyhedron but
because of the duplicated vertices this is prevented.)
TIA!
Best regards,
--
----------------------------------------------------------------
,yours Thomas Zangl, Bakk.rer.soc.oec. -
-
- Freelancer - IT Consulting & Software Development -
- Student of Software Development-Economy (Master) -
- Polyhedron_3 and preserving the combinatorical information of its input points.., Thomas Zangl - Home, 07/25/2007
Archive powered by MHonArc 2.6.16.