Subject: CGAL users discussion list
List archive
- From: Efi Fogel <>
- To:
- Subject: Re: [cgal-discuss] Sweep algorithm return intersecting segments
- Date: Thu, 12 Jul 2018 13:29:01 +0300
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:1Q8xCx9uhYNrpf9uRHKM819IXTAuvvDOBiVQ1KB30uscTK2v8tzYMVDF4r011RmVBduds6oMotGVmpioYXYH75eFvSJKW713fDhBt/8rmRc9CtWOE0zxIa2iRSU7GMNfSA0tpCnjYgBaF8nkelLdvGC54yIMFRXjLwp1Ifn+FpLPg8it2O2+55zebx9UiDahfLh/MAi4oQLNu8cMnIBsMLwxyhzHontJf+RZ22ZlLk+Nkhj/+8m94odt/zxftPw9+cFAV776f7kjQrxDEDsmKWE169b1uhTFUACC+2ETUmQSkhpPHgjF8BT3VYr/vyfmquZw3jSRMMvrRr42RDui9b9mRx3miCkHOTA383zZhNJsg69Auh2tuwZyzpTIbI2JNvdzeL7Wc9MARWpGW8ZcTyNPAo29b4ASD+QBOulYoJf5p1ATqhaxGwesBOLhyj9PiX/5w6k63v8uEQHDxgMgHtYOvG7Io9XyMacfSOa4x7TGwzXEavNZwzb96I7QfxAnu/6DRql/cc7PxkU1CwzFiVCQpZTkPzOTzOQNsnKU4/BuVeK1k2Iotw5xrSKrxss2jYnJnI0Vx1bZ/it62IY4PcO0RFJ/bNK+E5ZdtzuWO5Z3T88+WW1ltyc3x7sbspChZicK0o4oxxvHZvyHbYeI5hXjWf6UIThihXJlfKuzhw628US80+H8WMa53VdQoipKldnMsX8N1xjN5cSdVvR9+UKh1S6O1wDV9O5EPVg5mbTHJ5Ml2LI9lZoevV7eEiL3hEn6lqCbe0Q89uit8evnY7HmppGGN49zjwHzKrohmsK+AeQ2NQgOUHaU+eCn2b3s+E32WrRKjvksnqbFt5DaINwXprSlDA9NzoYj9xG/Ai+639QXh3YHKEtJdw+Gj4jyJ17OPev4DeykjlS3kDZrwujGMaf7DpXMKHjDirbhcqxn505S0gpghe1Z/I9eX7EdPOroCAi2r83dFhZ/Mgquwu+hBs86zZIbQWvIA6mXN+TZvlaMo+4uOOKRf5RGhDGoIPcs47vijGQyhEQGVaivx5oeLn6iTdp8JEDMTHTtyvkGHmoO9l4zQu3kj1KPVRZcYn+zW+Q34TRtW9HuNpvKWo342O/J5yy8BJADPjkXWGDJKm/hcsC/Y9lJbSuTJsF7lTldDOquToYg0VelswqokuM7fNqRwTURsNfY7PYw//fazEhg+jl9DsDb2GaIHTktwzE4AgQu1aU6mnRTj1eO1a8i3q5dHN1XoutNCkI0acCawOt9BNT/HAnGe4XRRQ==
Consider constructing a 2d-arrangement induced by the curves (using the aggregate insert() free function, which is based on the surface-sweep framework).
In particular, construct an object the type of which is an instance of Arrangement_with_history_2, or extend the arrangement to your needs and use an observer to update the extended data (see, e.g., the face_extension.cpp example of the Arrangement_on_surface_2 package).
All the information you mention can be extracted from the arrangement object.
____ _ ____ _
/_____/_) o /__________ __ //
(____ ( ( ( (_/ (_/-(-'_(/
_/
/_____/_) o /__________ __ //
(____ ( ( ( (_/ (_/-(-'_(/
_/
On 12 July 2018 at 13:14, brainslush <> wrote:
I have a list of segments and want to determine where and with what
other segments they are intersecting unsing the sweep algorithm.
The part for obtaining the intersection positions is straight forward
from the tutorial / example.
https://doc.cgal.org/latest/Surface_sweep_2/index.html
What steps would I have to take to obtain the the segments/curves
involed in the intersection?
Kind Regards,
Benjamin
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
- [cgal-discuss] Sweep algorithm return intersecting segments, brainslush, 07/12/2018
- Re: [cgal-discuss] Sweep algorithm return intersecting segments, Efi Fogel, 07/12/2018
- Re: [cgal-discuss] Sweep algorithm return intersecting segments, Benjamin Streitz, 07/12/2018
- Re: [cgal-discuss] Sweep algorithm return intersecting segments, Efi Fogel, 07/12/2018
- Re: [cgal-discuss] Sweep algorithm return intersecting segments, Benjamin Streitz, 07/12/2018
- Re: [cgal-discuss] Sweep algorithm return intersecting segments, Efi Fogel, 07/12/2018
Archive powered by MHonArc 2.6.18.