Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] convert Plane_3 to Triangle_3

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] convert Plane_3 to Triangle_3


Chronological Thread 
  • 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



Archive powered by MHonArc 2.6.16.

Top of Page