Subject: CGAL users discussion list
List archive
- From: Andreas Fabri <>
- To:
- Subject: Re: [cgal-discuss] Thread safety in CGAL AABB tree
- Date: Thu, 3 Sep 2015 19:59:44 +0200
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=None ; spf=None
- Ironport-phdr: 9a23:Tm5fRx9s6fhp5f9uRHKM819IXTAuvvDOBiVQ1KB91uwcTK2v8tzYMVDF4r011RmSDdmds64P0rKJ+4nbGkU+or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6anHS+4HYoFwnlMkItf6KuStKU15j8jrjts7ToICx2xxOFKYtoKxu3qQiD/uI3uqBFbpgL9x3Sv3FTcP5Xz247bXianhL7+9vitMU7q3cY6Lod8JtLXqz+Oqg5VrdFFy8OMmYv5cStuwOQYxGI4y41VGkMnxNTSybM5gv7FsP4tCfgu+NmnieTN9f3Zb85XjGv8716RhbjlCAdJngy92SB2Z84t75SvB/0/083+IXTeozAbPc=
- Organization: GeometryFactory
Hello,
It is not so much the AABB Tree, but the point type.
Simple_cartesian<double>::Point_3 or
Exact_predicates_inexact_constructions_kernel::Point_3
should work. As soon as you use Cartesian, or
an exact number type the reference counting
poses a problem here.
best,
andreas
On 03/09/2015 18:44, gupta61 wrote:
Hi,
I am trying to use a method from the AABB tree. The exact method is
CGAL_AABB_Tree_Point_and_primitive_id pt_and_primit =
aabb_tree_cr_surf.closest_point_and_primitive(
iset::ConcRigArr1dToCGALPoint3( glPnt ) );
where glPnt is some CGAL Point in 3D. I was wondering if this method is
thread safe. When I try to run this right now, I get the following error,
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe84d1700 (LWP 21805)]
0x00000000007447a4 in CGAL::Handle::~Handle (this=0x7fffb0004330) at
/home/gupta61/SetSolver_hg_checkin_heatFluid_office/CGAL-4.4/include/CGAL/Handle.h:63
63 delete PTR;
I was wondering if you had any recommendation on how to use the AABB tree in
a parallel setting with thread safety. Thanks.
Regards,
Piyush Gupta
-----
Piyush Gupta
UIUC
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Thread-safety-in-CGAL-AABB-tree-tp4661127.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
--
Andreas Fabri, PhD
Chief Officer, GeometryFactory
Editor, The CGAL Project
phone: +33.492.954.912 skype: andreas.fabri
- [cgal-discuss] Thread safety in CGAL AABB tree, gupta61, 09/03/2015
- Re: [cgal-discuss] Thread safety in CGAL AABB tree, Andreas Fabri, 09/03/2015
Archive powered by MHonArc 2.6.18.