Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Alpha_shape_2::find_optimal_alpha(1) returning invalid pointer value

Subject: CGAL users discussion list

List archive

[cgal-discuss] Alpha_shape_2::find_optimal_alpha(1) returning invalid pointer value


Chronological Thread 
  • From: Dave Potts <>
  • To:
  • Subject: [cgal-discuss] Alpha_shape_2::find_optimal_alpha(1) returning invalid pointer value
  • Date: Sat, 11 Feb 2012 13:10:50 +0000
  • Organization: Pinan software

I have inherited a program that uses cgal library, it makes a call to

Alpha_shape_2::find_optimal_alpha(1)

This method returns a value of 0,if you attempt to deference this value, you
get a core dump.

There is no == operator define for this method so I can not say

if(A.find_optimal_alpha(1) ==0)


How can I test for a zero return value? or if the values used in A to get an
optimal_alpha value are correct?


regards


Dave Potts.
--




Archive powered by MHonArc 2.6.16.

Top of Page