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: Efi Fogel <>
  • To:
  • Subject: Re: [cgal-discuss] Joining 2 Polygon_with_holes_2 objects
  • Date: Mon, 04 Feb 2008 11:32:53 +0200

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.

--
____ _ ____ _
/_____/_) o /__________ __ //
(____ ( ( ( (_/ (_/-(-'_(/
_/




Archive powered by MHonArc 2.6.16.

Top of Page