Skip to Content.
Sympa Menu

cgal-discuss - Triangulation_2 question

Subject: CGAL users discussion list

List archive

Triangulation_2 question


Chronological Thread 
  • From: Boris Kazakov <>
  • To:
  • Subject: Triangulation_2 question
  • Date: Wed, 12 Mar 2008 13:39:49 +0300
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=f59Tm/5yPRVViWGfJONuSozw82NN+TJbE4/bRtserMl1uOWfnN+syDR1ut8tuQLqeouC3z+xeeVufsV1/pAVv/mGLj+o5TSpzHrxFyOQ2q3NTg40tsCZexTGKLVPLSLlix4IcWv1hbHmC5u9zAXRgC4SLec75PpmJkWtyj6CFuQ=

Hi, I'm new to CGAL and I'd like to do the following:
Create a new Triangulation_2
Add several points to it(for example, (0,0), (10,0), (10,10), (0,10),(5,5))
Then move central point somewhere and check, weather the triangulation remains valid(by calling is_valid() method)
When I am moving central point outside of the box [0,0,10,10] I get the following error:

CGAL error: assertion violation!
Expr: s == LEFT_TURN
File: /usr/local/include/CGAL/Triangulation_2.h
Line: 633

Is there a way to disable this assertion violation, so that after moving the point is_valid method will return false?

Thanks,

Best regards.






Archive powered by MHonArc 2.6.16.

Top of Page