Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Toggling odt() and no_odt() and other meshing paramters

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Toggling odt() and no_odt() and other meshing paramters


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Toggling odt() and no_odt() and other meshing paramters
  • Date: Mon, 28 May 2012 17:22:18 +0200
  • Organization: GeometryFactory

Le jeudi 24 mai 2012 12:15:04 slaughter a écrit :
> I am working on a meshing function based on Chapter 50 and would like to
> setup boolean flags to switch on or off the four meshing optimization
> methods given in Seciton 50.2 Interface: The global functions.
>
> I would like to do something like this for each of the parameters:
>
> if (odt_flag == true){
> Odt odt_value = CGAL::parameters::odt(); // This does't work, but is
> there something that will
> } else {
> Odt odt_value = CGAL::parameters::no_odt(); // This does't work, but is
> there something that will
> }

It is documented that CGAL::parameters::odt() and CGAL::parameters::no_odt()
both return a value of type CGAL::parameters::internal::Odt but if I look in
the source code, the return type is actually
CGAL::parameters::internal::Odt_options

I will fix the documentation for next release.

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




Archive powered by MHonArc 2.6.16.

Top of Page