Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Problems with Vector_3

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Problems with Vector_3


Chronological Thread 
  • From: "Jens K. Becker" <>
  • To:
  • Subject: Re: [cgal-discuss] Problems with Vector_3
  • Date: Thu, 24 Jan 2008 21:19:02 +0100

You all were right and I should have looked at that first. I really did use a
homogeneous kernel with Gmpz so that could not work. I must have changed that
for whatever reason at one point and then forgot about it.

Thanks very much for the help, that would have taken me ages to find out!

Jens

--
Dr. J.K. Becker
University of Tuebingen - Institute for Geoscience
Sigwartst. 10 - 72076 Tuebingen (Germany)
Tel.: ++49 7071 29 73139 Fax: +49 7071 5059
web: http://www.jkbecker.de


Quoting "Jens K. Becker"
<>:

Hi all,

I have a problem with Vector_3:

Apparently I can not initialize a Vector_3 (CGAL3.3.1, GMP and boost support)
with doubles that are between 1 and -1 (1>x<-1, 0 works though).
This is an example:
std::cout<<Vector_3(0.1,0.9,0.1) results in the output 0 0 0 1
std::cout<<Vector_3(1,1,1) results in the output 1 1 1 1

With an earlier version of CGAL that worked fine, though I am not sure if it is
CGAl or my linux version (I changed it recently).

I have no idea what to do anymore, any ideas anybody?

Thanks for your help,

Jens

--
Dr. J.K. Becker
University of Tuebingen - Institute for Geoscience
Sigwartst. 10 - 72076 Tuebingen (Germany)
Tel.: ++49 7071 29 73139 Fax: +49 7071 5059
web: http://www.jkbecker.de

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss






Archive powered by MHonArc 2.6.16.

Top of Page