Subject: CGAL users discussion list
List archive
- From: Ronald Paloschi <>
- To: "" <>
- Subject: Re: [cgal-discuss] Intersection of geometries
- Date: Tue, 13 Oct 2015 11:20:24 +0000
- Accept-language: en-US
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=Pass
- Ironport-phdr: 9a23:9Z8hOBaAr0oAnltd90EmrDv/LSx+4OfEezUN459isYplN5qZpcu8bnLW6fgltlLVR4KTs6sC0LqK9fC9EjZdqb+681k8M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aJBzzOEJPK/jvHcaK1oLsh7z0q8CYOVgArQH+SI0xBS3+lR/WuMgSjNkqAYcK4TyNnEF1ff9Lz3hjP1OZkkW0zM6x+Jl+73YY4Kp5pIYTGZn9Ku4zQrVcSTgnKGso/9bDtB/ZTALJ6GFWGjEdnRNMRgTE9xrnRYzZsy3gt+M71jPMbuPsSrVhYzOk5qNnACfhjCAcPD44uDXNjcp5iK4duBuloAd0w4/8aZyZPfFzZeXWetZMFjkJZdpYSyEUWtD0VIAIFedUZes=
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:23
Thanks for answering!
I've made some experiments and this approach of approximating circles and arcs with bezier curves seems to be the way to go (and not difficult to be done ATM).
The book on arrangements is a great Resource!
Well, on to coding! Thanks for your help!
Ronald
From: <> on behalf of Efi Fogel <>
Sent: Saturday, October 10, 2015 12:51 PM
To:
Subject: Re: [cgal-discuss] Intersection of geometries
Sent: Saturday, October 10, 2015 12:51 PM
To:
Subject: Re: [cgal-discuss] Intersection of geometries
Hi Ronald,
There is no immediate way to handle all three types at the same time.You need to define an appropriate instance of the Arrangement_2
CGAL 4.6.3 - 2D Arrangements: CGAL::Arrangement_2< Traits ...
Types: typedef Arrangement_2 < Traits_2, Dcel > Self a private type used as an abbreviation of the Arrangement_2 type hereafter. typedef unspecified_type
|
<Geom_traits, Dcel=...> class template.
BW, if, for example, you are willing to approximate circles with cubic Bézier curves, you can use the
Arr_Bezier_curve_traits_2 geometry traits, but again, this may be not intuitive or even desired.
____ _ ____ _
/_____/_) o /__________ __ //
(____ ( ( ( (_/ (_/-(-'_(/
_/
/_____/_) o /__________ __ //
(____ ( ( ( (_/ (_/-(-'_(/
_/
On Thu, Oct 8, 2015 at 3:25 PM, Ronald Paloschi
<> wrote:
Hi,
In our company, we are experiencing around with CGAL, it is such an amazing library!I need some advice that I think you fellows can give me.
First, context: We have a legacy CAD system with an in-house geometric library. We would like to start experiencing with cgal to replace this library.Our model has 3 main types of geometries (Line segments, Arcs and Bezier curves).It was really easy to move around and start using things.
Now I have a new challenge: Intersections. The Arrangements package seems the way to go, I'm still studying it.My question: How can I setup an Arrangement that is able to manage those 3 types together (if possible)?
Thanks in advance!
- [cgal-discuss] Intersection of geometries, Ronald Paloschi, 10/08/2015
- Re: [cgal-discuss] Intersection of geometries, Efi Fogel, 10/10/2015
- Re: [cgal-discuss] Intersection of geometries, Ronald Paloschi, 10/13/2015
- Re: [cgal-discuss] Intersection of geometries, Ronald Paloschi, 10/21/2015
- Re: [cgal-discuss] Intersection of geometries, Efi Fogel, 10/28/2015
- Re: [cgal-discuss] Intersection of geometries, Ronald Paloschi, 10/21/2015
- Re: [cgal-discuss] Intersection of geometries, Ronald Paloschi, 10/13/2015
- Re: [cgal-discuss] Intersection of geometries, Efi Fogel, 10/10/2015
Archive powered by MHonArc 2.6.18.