Subject: CGAL users discussion list
List archive
- From: Sylvain Pion <>
- To:
- Subject: Re: [cgal-discuss] convert Plane_3 to Triangle_3
- Date: Wed, 04 Aug 2010 22:23:22 +0200
Hi Joe,
Le 04/08/10 18:23, Joe C a écrit :
Are there any functions available in CGAL to convert a Plane_3 to
Triangle_3? Or any hint on how to do this?
If what you mean is how to generate a triangle included in a plane,
then the answer is that there is no direct function, but it's easy to do :
Plane_3 h;
Point_3 p = h.point();
Triangle_3 t(p, p + h.base1(), p + h.base2());
--
Sylvain
- [cgal-discuss] convert Plane_3 to Triangle_3, Joe C, 08/04/2010
- Re: [cgal-discuss] convert Plane_3 to Triangle_3, Laurent Rineau (GeometryFactory), 08/04/2010
- Re: [cgal-discuss] convert Plane_3 to Triangle_3, Sylvain Pion, 08/04/2010
- Re: [cgal-discuss] convert Plane_3 to Triangle_3, Joe C, 08/06/2010
Archive powered by MHonArc 2.6.16.