Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Re: How to get a Face_handle pointer from a Polyhedron model?

Subject: CGAL users discussion list

List archive

[cgal-discuss] Re: How to get a Face_handle pointer from a Polyhedron model?


Chronological Thread 
  • From: Liang <>
  • To:
  • Subject: [cgal-discuss] Re: How to get a Face_handle pointer from a Polyhedron model?
  • Date: Thu, 11 Aug 2011 07:31:12 -0700 (PDT)


CB Yu wrote:
>
> Halfedge_handle h = P.make_tetrahedron();
> h->facet()->color = CGAL::RED;
>
>
> Facet_handle f=h->facet();
> Isn't "h->facet()" the Face_handle pointer which you need?
>

I am afraid that is not what we want. Because in the header file
Polyhedron_3.h, the comment for make_tetrahedron() is:

// the combinatorial structure of a tetrahedron is added to the
// actual polyhedral surface. Returns an arbitrary halfedge of
// this structure.

Obviously, we do not want "arbitrary" halfedge. But thanks for your reply.

--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/How-to-get-a-Face-handle-pointer-from-a-Polyhedron-model-tp3730281p3736011.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.16.

Top of Page