Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: Flipping inside a triangulation

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: Flipping inside a triangulation


Chronological Thread 
  • From: Daniel Duque Campayo <>
  • To:
  • Subject: Re: [cgal-discuss] Re: Flipping inside a triangulation
  • Date: Wed, 15 Oct 2008 12:37:20 +0200

Hello,

For the record, I have found the answer to my question.

> T.flip(f,indx);

You cannot flip just any pair of adjacent triangles: they have to form a
convex object!

This is precisely what the precondition error was telling me (as soon as I
realized "orientation" meant position of a point relative to a line, not
triangle orientation). This makes sense, since for my terrain such a
forbidden flip would create a two-valued (folded) terrain, not quite what one
wants.

Best,

Daniel


--
Daniel Duque
http://rincon.uam.es/dir?cw=950067138671875



Archive powered by MHonArc 2.6.16.

Top of Page