Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] how to do operation similar Polyhedron_3 join_loop

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] how to do operation similar Polyhedron_3 join_loop


Chronological Thread 
  • From: Kye Wong <>
  • To:
  • Subject: Re: [cgal-discuss] how to do operation similar Polyhedron_3 join_loop
  • Date: Sat, 19 Feb 2011 10:07:57 +0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=jnGruQGVt3s1mHLacIyWWAlEi26AUrnQREkyMhG2sUnQLMm8emldMk9A0z2gQhmlXx Y2KJn6di1zNGqQTkssy6+Tj5fl9cTLj08zKnzJrm5C7xHhPaieO4APSuT8+FX009zvJj IF/YVs4aXNdgOLcuHmXPEwlf2jJQ0/v06GuZ8=

Splitting edges or vertices will introduce new vertices, however my requirment is just connecting the vertices on the two rings without introducing any new vertices. Besides, the two rings are disconnected to each other, how to build a halfedge connecting them at the first beginning please? If this could be done, then i believe the following connection operations can be implemented by using the functions such as split_vertex, split_edge and so on.

Thanks!

On Sat, Feb 19, 2011 at 12:30 AM, Sebastien Loriot (GeometryFactory) <sloriot.ml@gmail.com> wrote:
wrote:
Hi everyone, I now have a problem as follows:
I have two rings of vertices (halfedges) with different degrees (number of
edges), each ring can be seen as a hole, which means the halfedges on each ring
are border edges. Now i want to merge the two rings with some algorithm, how to
use the functions in  Polyhedron_3, for example split_edge,join_facet..., to
connect the vertices on the two rings one by one, in order to finish this task
please?

Have you tried splitting some edges in the loop having the less boundary
halfedges (see split_vertex and split_edge)?

http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Polyhedron_ref/Class_Polyhedron_3.html





Actually, this problem can be explained as: how to do the "join_loop" operation
in Polyhedron_3 when the degrees of the two facets are different? I know the
rule of how to connect the vertices on the two rings gradually, and just don't
know how to do it through the functions provided in Polyhedron_3, since the two
rings are diconnected to each other at first.

Meanwhile, I just want to use the operations in Polyhedron_3 without rebuilding
the whole mesh using the "delegate " method or Nef_polyhedron.

Could you please help me? Thanks!




--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss




--
Kye Wong



Archive powered by MHonArc 2.6.16.

Top of Page