Skip to Content.
Sympa Menu

cgal-discuss - RE: [cgal-discuss] Joining 2 Polygon_with_holes_2 objects

Subject: CGAL users discussion list

List archive

RE: [cgal-discuss] Joining 2 Polygon_with_holes_2 objects


Chronological Thread 
  • From:
  • To:
  • Subject: RE: [cgal-discuss] Joining 2 Polygon_with_holes_2 objects
  • Date: Wed, 6 Feb 2008 18:26:17 +0200

Hi Kenneth,

I'm using the g++ (GCC) 4.1.3 20070601 (prerelease) (Debian 4.1.2-12) compiler.


Guy

uoting Efraim Fogel
<>:

Hi,
Thanks for your help. May I know which compiler are you using? Thanks.
Regards,
Kenneth


-----Original Message-----
From:


[mailto:]
Sent: Tuesday, February 05, 2008 1:19 AM
To:

Subject: Re: [cgal-discuss] Joining 2 Polygon_with_holes_2 objects


Hi,

I ran your code on Linux and it works. The problem is with windows.
I attached the source and makefile.

Guy

Quoting Efi Fogel
<>:

Hello,

It's a crash of VC++. Note that VC8 is more robust than VC7.

andreas


Kenneth Tham wrote:
Hi,
I have tried to use that function, but I always get the error:
"error result returned from cl.exe". Attached is my code. The first
join statement can work, but the second one cannot. Thanks for
your help.
Regards,
Kenneth


-----Original Message-----
From: Efi Fogel
[mailto:]
Sent: Monday, February 04, 2008 5:33 PM
To:

Subject: Re: [cgal-discuss] Joining 2 Polygon_with_holes_2 objects


Kenneth Tham wrote:

Hi,
Is there a way of joining 2 Polygon_with_holes_2 using
CGAL::join? I have only managed to use it with 2 Polygon_2
objects. Is there an example of using CGAL::join with 2
Polygon_with_holes_2 objects? The full definition of the object
I'm using is CGAL::Polygon_with_holes_2<Kernel>. Thanks for your
help.
Regards,
Kenneth


There is a global function:

template <class Kernel, class Container>
inline bool join (const Polygon_with_holes_2<Kernel, Container> & pgn1,
const Polygon_with_holes_2<Kernel, Container> & pgn2,
Polygon_with_holes_2<Kernel, Container>& res);

I believe it is also documented.

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



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

[This e-mail is confidential and may be privileged. If you are not the
intended recipient, please kindly notify us immediately and delete the
message
from your system; please do not copy or use it for any purpose, nor disclose
its contents to any other person. Thank you.]
---ST Electronics Group---


--
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