Skip to Content.
Sympa Menu

cgal-discuss - Straight_Skeleton

Subject: CGAL users discussion list

List archive

Straight_Skeleton


Chronological Thread 
  • From: "sinan mutlu" <>
  • To:
  • Subject: Straight_Skeleton
  • Date: Thu, 13 Mar 2008 17:01:10 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=V/5SKlu+bGjddNfJQckTpgg4XLCBNXTxF3FfcD6NqSmRXnPfoz1MhsZ4XHh2nYHbCCpKG9AuhBSgnBPyHjQ+cdIdAjs7plFLSP5rY0Ex7fqyoshom9IhHpUg3GrviJw6uxOK3sGnv1peivD3A+vvWR0AaeKnI/tCMqr8KmIkJ7E=

Hi again,

I thing that if we give the point coordinates in integer, it calculates the straight skeleton faster compare to using floating point coordinates.
Is there a way to accelerate the calculation by using floating point coordinates.

Thank you for your time and consideration.

Sinan Mutlu  


  • From: Andreas Fabri <>
  • To:
  • Subject: Re: [cgal-discuss] Straight_Skeleton
  • Date: Wed, 12 Mar 2008 13:42:25 +0100
  • References: <>
  • User-agent: Thunderbird 2.0.0.12 (Windows/20080213)


  • Hi Sinan,

    This exception is an internal thing and it gets catched internally.
    It happens in predicates that first try to get evaluated with floating
    point arithmetic, and if the outcome is uncertain (that is we cannot
    trust it), the exception is thrown, catched and the predicate is
    computed again, this time with an arbitrary precision arithmetic.

    andreas


    sinan mutlu wrote:
    Hi,

    I am trying to find "straight skeletons" of some polygons. But sometimes it gets too much time to calculate a concave polygon and while trying to
    compute the straight skeleton, it gives the following message:

    "First-chance exception at 0x7c812a5b (kernel32.dll) in Example.exe: Microsoft C++ exception: CGAL::Uncertain_conversion_exception at memory location 0x00108100..."

    I have not understood the reason why it takes so much time to calculate it.

    Can anybody help to understand the reason.

    Best Regards.

    Sinan Mutlu



    Archive powered by MHonArc 2.6.16.

    Top of Page