Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CGAL_triangulation_precondition

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL_triangulation_precondition


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] CGAL_triangulation_precondition
  • Date: Sun, 13 Sep 2009 00:28:16 +0200
  • Organization: GeometryFactory

Le samedi 12 septembre 2009 22:45:07, Vitaliy a écrit :
> Hello !
> Could you tell me what means "CGAL_triangulation_precondition()" in CGAL
> code ?
>
> I thought that when condition fails - then it returns from subroutine, but
> when I added in function Triangulation_2<Gt, Tds>::flip(Face_handle f, int
> i)
> following row:
>
> CGAL_triangulation_precondition(1 == 2);

The preconditions checks are disabled if the macro NDEBUG is defined. For
example, Microsoft Visual Studio sets NDEBUG in "Release" mode (but not in
"Debug" mode).

--
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