Skip to Content.
Sympa Menu

cgal-discuss - Re: Problem about dual in DelaunayTriangulation_3

Subject: CGAL users discussion list

List archive

Re: Problem about dual in DelaunayTriangulation_3


Chronological Thread 
  • From: Kuan <>
  • To:
  • Subject: Re: Problem about dual in DelaunayTriangulation_3
  • Date: Sat, 20 Oct 2007 23:47:11 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=GQPESNThMuOpcSZCvykYc53njq2Kv8UM6qEOruCOyM0MEzylXDCBfISEGDqq2h0XuArpbp7PiYJvB5zbIxoQfahUO6r8+XKnhEG49qFCPBSECse4QfsT0lJyD3p7kmyYdscZ2IPPPHBXbvvenLqdyQehshjVzHm/ZqnLjSWop5U=

Sorry, it's really my fault. I forget to set Enable Run-Time Type Info to true.
best regards
Kuan

2007/10/20, Kuan < >:
Hi all,
I have a problem with dual of Facet in DelaunayTriangulation.
Here is the code, citer is Cell_handle.  And error appears when use assign, debug will say runtime error.
What's my mistake?

CGAL::Object o = dt->dual(citer, 0);
K::Ray_3 r;
K::Segment_3 s;
if (CGAL::assign(r, o))       //crash
{
//do something
}
else if (CGAL::assign(s, o))
{
//do something
}

best regards
Kuan




Archive powered by MHonArc 2.6.16.

Top of Page