Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Can CGAL cope with very long numbers?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Can CGAL cope with very long numbers?


Chronological Thread 
  • From: aneta <>
  • To:
  • Subject: Re: [cgal-discuss] Can CGAL cope with very long numbers?
  • Date: Mon, 28 Feb 2011 17:58:04 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=xuMaC1Vu6JYOXSnqZ1NTTZimePZoCZcN0PiBVPC/zX6w9Cxwd7IgbMEnlZeWjA9VqB IBVYUEGczr4g+nwZtd70igYLrKQUGsQBZuThTejegWYGRuN75RLkB9nIyBLCHKm76Ubo tNDexoOtZ0KIisJRwSkoEYOUoEbgPBcCi9eyw=


One more thing - I was trying ascii, pretty and binary mode. Not getting double format...
And double is the value I get.
My Point is of form PointC2 (for constrained triangulation).

Regards,
annie


W dniu 2011-02-28 17:45, aneta pisze:

Thank you for your answer.

I'm not sure how to achieve this.
I have a good coordinates values, but only when I write it in console like this:
printf("%.3f, %.3f.... ", x, y )
The thing is I need to have it written in file. I use:
f<<x<<y
But I probably do sth wrong here, when I make a new point:
Point(x,y)
These x and y are not as simple as I write here because I get them from a function. But they are ok - as long as I use printf. So what am I doing wrong?
I would be very grateful for help.

Regards,
annie


W dniu 2011-02-28 08:26, Sebastien Loriot (GeometryFactory) pisze:
annie wrote:
Hello,

Just would like to know, is it possible for CGAL-3.4 to process in CDT
The only version we provide support for is the latest one, CGAL-3.7.

(constrained Delaunay triangulation) numbers such 5555555.555 as coordinates
or is it a problem? I'm having some problems with application and that's
why I'm asking about CGAL possibilities ;)
Not sure to understand the question. If you mean exact representation, gmp and mpfr can be used with CGAL.

S.


Would be very grateful for answer.

Regards,
annie






Archive powered by MHonArc 2.6.16.

Top of Page