Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] normal vector of a facet

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] normal vector of a facet


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] normal vector of a facet
  • Date: Sat, 6 Mar 2010 16:09:36 +0100
  • Organization: GeometryFactory

Le Samedi 06 Mars 2010 10:23:47, Daniel Duque a écrit :
> >// const Facet& f is passed to this function in the function argument ...
> >const Point_3& p1 = f.first->vertex((f.second+1)&3)->point();
>
> You do mean "%3", don't you?

No. He meant %4. "Modulo 4" and the "binary AND 3" is the same operation.

--
Laurent Rineau, PhD
Release Manager of the CGAL Project http://www.cgal.org/
R&D Engineer at GeometryFactory http://www.geometryfactory.com/



Archive powered by MHonArc 2.6.16.

Top of Page