Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] squared_radius() error
- Date: Wed, 24 Feb 2010 15:44:35 +0100
mahdavi wrote:
hi,allHello,
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.
I guess the underlying type of your kernel is not double.
What is K?
S.
- [cgal-discuss] squared_radius() error, mahdavi, 02/24/2010
- Re: [cgal-discuss] squared_radius() error, Sebastien Loriot (GeometryFactory), 02/24/2010
- Re: [cgal-discuss] squared_radius() error, Atul Thakur, 02/24/2010
- [cgal-discuss] Re: squared_radius() error, mahdavi, 02/24/2010
- Re: [cgal-discuss] squared_radius() error, Sebastien Loriot (GeometryFactory), 02/24/2010
Archive powered by MHonArc 2.6.16.