Skip to Content.
Sympa Menu

cgal-discuss - Problems with Vector_3

Subject: CGAL users discussion list

List archive

Problems with Vector_3


Chronological Thread 
  • From: "Jens K. Becker" <>
  • To:
  • Subject: Problems with Vector_3
  • Date: Thu, 24 Jan 2008 19:31:47 +0100

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




Archive powered by MHonArc 2.6.16.

Top of Page