Skip to Content.
Sympa Menu

cgal-discuss - Re: Re: Re: [cgal-discuss][Nef_polyhedron]A more complex but stillsimplequestion

Subject: CGAL users discussion list

List archive

Re: Re: Re: [cgal-discuss][Nef_polyhedron]A more complex but stillsimplequestion


Chronological Thread 
  • From: "Max" <>
  • To: "" <>
  • Subject: Re: Re: Re: [cgal-discuss][Nef_polyhedron]A more complex but stillsimplequestion
  • Date: Tue, 5 Feb 2008 22:41:20 +0800
  • Disposition-notification-to: "Max" <>
  • Organization: LoadCom

>> I know nothing about indexed item before. But it works quite well.
>
>That's good to know. Than there is an alternative to
>Exact_construction_excat_predicate_kernel. I'm curious about the
>performance.

I've tried with both Exact_predicates_exact_constructions_kernel and
Exact_predicates_inexact_constructions_kernel, with CGAL::SNC_indexed_items,
but neither even passed compile (on VS2003/SP1 or VS2005/SP1).

>
>> One more question, the program output 'Constructor not available for this
>> Kernel'
>> What does it mean? Could this message be ignored?
>
>This means that you called the constructor for creating a halfspace
>while you use a standard kernel. This constructor has can not work
>without an extended kernel.

Yes, after a deeper look, I realized that this message was issued by
a statement

Nef_polyhedron_3 N1(pl, Nef_polyhedron_3::INCLUDED);

with
typedef CGAL::Homogeneous<CGAL::Gmpzf> Kernel;
typedef CGAL::Nef_polyhedron_3<Kernel, CGAL::SNC_indexed_items>
Nef_polyhedron_3;

Yes, I just noticed the fact that all examples in the manual that use Nef_3
constructor this way are all using the extended kernel.

1) I changed the kernel from Homogeneous<CGAL::Gmpzf> to
Extended_homogeneous<CGAL::Gmpzf>
and had another run. But this time I got a runtime error. It happened in the
main program
at this statement:

Nef_polyhedron_3 N(P);

2) Despite of this problem, I recommend you add an explicit statement into
the doc
regarding this requirement/restriction (if there was not). :-)

>
>Peter
>--
>You are currently subscribed to cgal-discuss.
>To unsubscribe or access the archives, go to
>https://lists-sop.inria.fr/wws/info/cgal-discuss
>



Archive powered by MHonArc 2.6.16.

Top of Page