Subject: CGAL users discussion list
List archive
- From: "Brown, James 2" <>
- To: "''" <>
- Subject: [cgal-discuss] Persistent cell identifiers in Triangulation_3
- Date: Wed, 10 Feb 2016 22:10:23 +0000
- Accept-language: en-US
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=Pass
- Ironport-phdr: 9a23:5xnplR+S5xVW1f9uRHKM819IXTAuvvDOBiVQ1KB91O4cTK2v8tzYMVDF4r011RmSDdqdsKgP0reP+4nbGkU+or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6anHS+4HYoFwnlMkItf6KuStGU1J78jr3rs7ToICx2xxOFKYtoKxu3qQiD/uI3uqBFbpgL9x3Sv3FTcP5Xz247bXianhL7+9vitMU7q3cY6Lod8JsKHq71dqB9Qb1DByk9KEg04tfqvF/NV0TFri8XXWwS1xZJGAPY9wrSX5HrsyK8uPAriweAOsijB5ouXiukq+9JQRrlk29dfXZt8mjSh9c2hrhcvxSJoxl0xMjfZ4TDZ6k2Rb/UYd5PHTkJZc1WTSEUWo4=
When using the triangulation I need to map from a Cell to an external data structure, so I am trying to find the correct way to persistently reference a cell.
It seems the way to reference cells should be with a Cell_handle, but it looks like this is actually a Cell_iterator. I would like to perform an incremental triangulation but the documentation notes that the iterators become invalid for any change to the triangulation. This makes it sound like I cannot use a Cell_handle to persistently reference a cell during an incremental triangulation.
After some experimentation it seems (assuming the cell has not been removed by a point insertion or vertex deletion) that I can still correctly reference a cell through its Cell_handle after a change to the triangulation. Is this just a fluke or is it a safe operation, and what is the best way if any to accomplish what I need?
Thanks, James |
- [cgal-discuss] Persistent cell identifiers in Triangulation_3, Brown, James 2, 02/10/2016
- Re: [cgal-discuss] Persistent cell identifiers in Triangulation_3, Olivier Devillers, 02/11/2016
- Re: [cgal-discuss] Persistent cell identifiers in Triangulation_3, Andreas Fabri, 02/15/2016
Archive powered by MHonArc 2.6.18.