Subject: CGAL users discussion list
List archive
- From: sara_mahdavi <>
- To:
- Subject: [cgal-discuss] how to get plan Corresponding one facet in polyhedron?
- Date: Fri, 27 Nov 2009 05:14:26 -0800 (PST)
hi all,
I can extract all vertexes of facet of polyhedron but I don't know to
obtain plan for any facet of polygon ,after normal vector for any facet of
polygon,I read Chapter 23 3D Polyhedral Surfaces , I see Example Computing
Plane Equations but in this example all plan obtained ,but I need a plan
Corresponding one facet of polyhedron and work by this plan,
,please help me, thanks
my code for obtain vertexes of one facet of polyhedron is :
Facet_iterator fI;
for (fI=P.facets_begin(); fI != P.facets_end(); fI++) //p is polyhedron
{
int faceDeg = fI->facet_degree();
// fI->plan(); // error
CGAL_Halfedge_circulator edgecirculator = fI->facet_begin();
for(int i = 0; i < faceDeg ;i++)
{ std::cout<<edgecirculator->vertex()->point();
edgecirculator++;
}
}
--
View this message in context:
http://old.nabble.com/how-to-get-plan-Corresponding-one-facet-in-polyhedron--tp26542279p26542279.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] how to get plan Corresponding one facet in polyhedron?, sara_mahdavi, 11/27/2009
Archive powered by MHonArc 2.6.16.