Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] powerdiagram3D

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] powerdiagram3D


Chronological Thread 
  • From: Sebastien Loriot <>
  • To:
  • Subject: Re: [cgal-discuss] powerdiagram3D
  • Date: Wed, 04 Nov 2009 11:27:37 +0100

sara_mahdavi wrote:
hi,
why nobody do answer to Question?
Your question may be more attractive and easy to read
if you had more whitespace and new lines in you request.

If I understand the question, you would like to get a facet
in a power diagram. As you know a facet is the dual of an edge
in the regular triangulation.

Then all finite cells incident to an edge give you the points
bounding the face.

Use the following function to get incident cells:
/Cell_circulator / / t.incident_cells ( Edge e) /(cf. http://www.cgal.org/Manual/last/doc_html/cgal_manual/Triangulation_3_ref/Class_Triangulation_3.html)//
For those that are finite, you can get the dual points using function
/Point// rt.dual ( Cell_handle c)



/S.

if myquestion is easy ,but I don't
know.help me,
thanks
.......................
hi ,all
I need powerdiagram3D , there is in manual cgal two function(rt.dual( Cell
handle c ), rt.dual( Facet f) ) for pd3D,rt.dual( Cell handle c ) give a
vertex of pd3D,and rt.dual( Facet f) give a edge of pd3D.it is true that a
cell of pd3D obtained by convex polyhedron from a tetrahedron,thus I obtain
cells of pd3D one after one ,I don't know how obtain a face in pd3D?is
there a code for pd3D ? please help me.




Archive powered by MHonArc 2.6.16.

Top of Page