Subject: CGAL users discussion list
List archive
- From: sara_mahdavi <>
- To:
- Subject: [cgal-discuss] how I to get plan of a facet in polyhedron3d?
- Date: Fri, 27 Nov 2009 23:42:30 -0800 (PST)
hi all,
please tell me if my question is ambiguous ,
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
polyhedron,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-I-to-get-plan-of-a-facet-in-polyhedron3d--tp26545439p26545439.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] how I to get plan of a facet in polyhedron3d?, sara_mahdavi, 11/28/2009
Archive powered by MHonArc 2.6.16.