Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] do_intersect bug

Subject: CGAL users discussion list

List archive

[cgal-discuss] do_intersect bug


Chronological Thread 
  • From: DimanNe <>
  • To:
  • Subject: [cgal-discuss] do_intersect bug
  • Date: Sat, 9 Jul 2011 01:38:56 -0700 (PDT)

http://cgal-discuss.949826.n4.nabble.com/file/n3655807/main.cpp main.cpp

In main.cpp I try to ask is there intersection of
TBBox BBox(0, -4, 0,
300, 4, 300);
and
TLine Line(TPoint(150, -5, 0),
TPoint(150, -5, 1));

as you can see y-coord of Line is lower (= -5) than bottom of BBox (= -4)
but output is

%g++ main.cpp -I/usr/local/include/ -L /usr/local/lib/ -lCGAL
%./a.out
1
v
1


%uname -a
FreeBSD Impedance 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Tue Apr 5 18:35:50
MSD 2011
Void@Impedance:/usr/obj/usr/src/sys/GENERIC
i386

%g++ --version
g++ (GCC) 4.2.2 20070831 prerelease [FreeBSD]
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



PORTNAME= cgal
PORTVERSION= 3.6.1


--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/do-intersect-bug-tp3655807p3655807.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.16.

Top of Page