Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] squared_radius() error

Subject: CGAL users discussion list

List archive

[cgal-discuss] squared_radius() error


Chronological Thread 
  • From: mahdavi <>
  • To:
  • Subject: [cgal-discuss] squared_radius() error
  • Date: Wed, 24 Feb 2010 06:42:36 -0800 (PST)


hi,all
I have a array of spheres ,and follow error occured in an assignment .
error is
:://////////////////////////////////////////////////////////////////////
: error C2440: '=' : cannot convert from 'CGAL::Null_functor::result_type'
to 'double'
///////////////////////////////////////////////////////////////////////////.
my code is:
/////////////////////////////////// code:
std::vector<K::Sphere_3>::iterator is=points1.begin();
float radius;
radius=sqrt(is->squared_radius());
//////////////////////////////////////////////////
whether someone could guidance me ? Thank you.

--
View this message in context:
http://n4.nabble.com/squared-radius-error-tp1567541p1567541.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.16.

Top of Page