<div dir="ltr">Hey,<div style>i was looking at port of Delaunay triangulation. and came to know some of these stuff:</div><div style>i looked at the method signatures from the javadoc for JTS, and saw these signatures in the headers files 'libgeos/include/geos/triangulate'. And their implementation in 'libgeos/src/triangulate'. And also noticed some of the methods in QuadEdgeSubdivision.h were missing. I think there were mainly related to voronoi cell.</div>
<div style><br></div><div style>I was searching for JTS's source code on git hub, and didn't find the code for Delaunay triangulation. in 'com.vividsolutions.jts' directory i couldn't find the triangulate directory. Where can i find that?</div>
<div style>Can you provide me a link where i can find JTS triangulation source code?</div><div style><br></div><div style>And yes i understand the memory management problems in c/c++ that can happen. </div><div style> </div>
<div style>Thanks,</div><div style>Vishal</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 29 March 2013 18:12, Sandro Santilli <span dir="ltr"><<a href="mailto:strk@keybit.net" target="_blank">strk@keybit.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Fri, Mar 29, 2013 at 04:09:17PM +0530, vishal tiwari wrote:<br>
> hey Sandro, thanks for replying. I want to know details of the project. The<br>
> ideas page of GEOS talks very less about it. I want to know what exactly<br>
> needs to be done in the project that is proposed.<br>
<br>
</div>Figuring it out is part of the project :)<br>
<div class="im"><br>
> From the statement what i have understood is, that we have to port the<br>
> classes of Voronoi functionality from JTS to GEOS. JTS are java API, and we<br>
> need to port it to c++ classes. I want some guidance on how java classes<br>
> can be ported to C++.<br>
<br>
</div>The last port has been for the Delaunay triangulation, you could start to<br>
see how that was done. There's a git mirror of the codebase on github if<br>
you're more comfortable with that (offline history helps).<br>
<br>
The main problem you'll have to deal with is memory management:<br>
the Java version relies on automatic garbage collection while in GEOS we<br>
have to do that manually (no refcounting, no reachable graphs).<br>
<br>
It's usefu to start by looking at what's missing.<br>
The GEOS codebase organization reflects the JTS one pretty closely.<br>
<br>
--strk;<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
geos-devel mailing list<br>
<a href="mailto:geos-devel@lists.osgeo.org">geos-devel@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geos-devel" target="_blank">http://lists.osgeo.org/mailman/listinfo/geos-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Vishal Tiwari<div>Undergraduate</div><div>Computer Science and Engineering</div><div>Lab for Spatial Informatics</div><div>IIIT-Hyderabad</div>
</div>
</div>