Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] CGAL::Delaunay_Triangulation_3::dual(const Facet & f)
- Date: Thu, 10 Jul 2014 09:18:23 +0200
- Organization: GeometryFactory
CGAL::Object mechanism rely on RTTI. This implies that if you create
an Object in a dll and try to use it in another one, there is an issue.
I don't know if your problem is related but CGAL::Object and JNI ring
a bell (as I had the issue with the cgal-bindings).
Sebastien.
On 07/09/2014 12:48 PM, Thomas Gust wrote:
Hello everybody,
I am using CGAL successfully in conjunction with a Java program through JNI.
Especially I am interested in using 3d Delaunay triangulations and their
dual Voronoi tesselations.
To get the Voronoi edges, I need the duals of the triangulations faces.
However, when I am calling the function
CGAL::Delaunay_Triangulation_3::Object
CGAL::Delaunay_Triangulation_3::dual(const Facet & f) const
anywhere in my dll, the Java dll-loader throws an exception that there is a
dependent library that can not be loaded. Please note, this problem occurs
with no other object or function of CGAL, which I use, whatsoever. So I
wonder what that presumably missing library could be?
There are no C++ compiling problems, not even warnings.
Also the CGAL Delaunay_Triangulation_3 demo works just fine and it shows me
the Voronoi edges through the use of exactly this function.
So what am I missing? Here is how I call the function:
DT3::Finite_facets_iterator fi = dt3.finite_facets_begin();
DT3::Object o = dt3.dual(*fi);
My tech-specs:
- Windows Server 2008 R2 x64
- Visual Studio 2010
- CGAL 4.4
- Java SDK 1.8
- x64 build
Another question: What would be the most recommended way to construct a 3d
Voronoi tesselation with CGAL? Not just the edges, but also the cells -
including the infinite ones.
Thanks for any help,
Thomas
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/CGAL-Delaunay-Triangulation-3-dual-const-Facet-f-tp4659537.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] CGAL::Delaunay_Triangulation_3::dual(const Facet & f), Thomas Gust, 07/09/2014
- Re: [cgal-discuss] CGAL::Delaunay_Triangulation_3::dual(const Facet & f), Sebastien Loriot (GeometryFactory), 07/10/2014
- Re: [cgal-discuss] CGAL::Delaunay_Triangulation_3::dual(const Facet & f), Thomas Gust, 07/10/2014
- Re: [cgal-discuss] CGAL::Delaunay_Triangulation_3::dual(const Facet & f), Sebastien Loriot (GeometryFactory), 07/10/2014
- Re: [cgal-discuss] CGAL::Delaunay_Triangulation_3::dual(const Facet & f), Thomas Gust, 07/10/2014
- Re: [cgal-discuss] CGAL::Delaunay_Triangulation_3::dual(const Facet & f), Sebastien Loriot (GeometryFactory), 07/10/2014
Archive powered by MHonArc 2.6.18.