<div dir="ltr">Hey,<div>Here is the structure of classes that is required by the <span style="font-family:arial,sans-serif;font-size:12.727272033691406px"><b>VoronoiDiagramBuilder</b> class: (The ones in <b>bold</b> needs to be ported)</span></div>
<div><ol style>
<li style><font face="arial, sans-serif">Geometry</font></li><li style><font face="arial, sans-serif">Geometry Factor</font></li><li style><font face="arial, sans-serif">QuadEdgeSubdivision:</font></li><ul style><li style>

<font face="arial, sans-serif">Methods required for <b>VoronoiDigramBuilder</b>:</font></li><ul style><li style><b>getVoronoiDiagram</b></li><li style><b>getVoronoiCellPolugons</b></li><li style><b>getVoronoiCellPolugon</b><br>
</li><li style>visitTriangle<br></li><li style><b>getVertexUniqueEdges</b></li><li style>TriangleCoordinateVisitor</li><li style><b>TriangleCircumcenterVisitor</b></li><li style><b>TriangleEdgeListVisitor</b></li><li style>
<b>TriangleVertexListVisitor</b></li><li style><b>isFrameVertex</b></li></ul></ul><li style><font face="arial, sans-serif">TriangleVisitor(Interface)</font></li></ol><div style><span style="font-family:arial,sans-serif">Plz let me know if i am missing some method or class which is required for </span><span style="font-size:12.727272033691406px;font-family:arial,sans-serif">VoronoiDiagramBuilder port. </span></div>
<div style><span style="font-size:12.727272033691406px;font-family:arial,sans-serif"><br></span></div><div style><span style="font-size:12.727272033691406px;font-family:arial,sans-serif">Is it me or its very few work for a Gsoc Project?</span></div>
</div><div style><span style="font-size:12.727272033691406px;font-family:arial,sans-serif"><br></span></div><div style><span style="font-size:12.727272033691406px;font-family:arial,sans-serif">Thanks,</span></div><div style>
<font face="arial, sans-serif">Vishal</font></div><div style><font face="arial, sans-serif"><br></font></div><div class="gmail_extra"><br><div class="gmail_quote">On 3 April 2013 13:07, 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>On Tue, Apr 02, 2013 at 11:29:58PM +0530, vishal tiwari wrote:<br>

> Hey,<br>
</div><div>> I have some doubts. I see that there is only one class that is,<br>
> VoronoiDiagramBuilder that is required for the voronoi class. And what is<br>
> the purpose of the other class, as i don't see them inside the code of the<br>
> VoronoiDiagramBuilder class. The classes that is needed in<br>
> VoronoiDiagramBuilder class are already ported. I think the rest of the<br>
> class correspond to Conforming Delauny triangulation. So i need to know<br>
> what all needs to be ported as the part of the gsoc project?<br>
<br>
</div>Only VoronoiDiagramBuilder and the classes it needs are required for the GSoC<br>
project.<br>
<div><br>
> Today i was trying to port the VoronoiDiagramBuilder.java class. and while<br>
> porting i noticed that a method<br>
> DelaunayTriangulationBuilder::unique(DelaunayTriangulationBuilder::unique)<br>
> is of type "void".<br>
> But the corresponding method in  DelaunayTriangulationBuilder.java in JTS<br>
> returns a CoordinateList. I want to know is it some error, or i am going<br>
> wrong?<br>
<br>
</div>Nothing wrong, in GEOS the porter decided to take the CoordinateList as<br>
an input/output parameter. You'll have to keep this in mind while porting<br>
the rest of the code. If you _need_ a copy you can make one from the caller.<br>
<div><br>
> I made the VoronoiDiagramBuilder.h file, was thinking if you could just<br>
> give it a look(attached to the mail). I have written some part of the .cpp<br>
> file as well, before i got suck in the problem.<br>
<br>
</div>Prefer taking parameters by reference rather than pointer, unless you have<br>
a clear semantic for accepting a NULL value. Also add const modifiers when<br>
possible. It'll save a lot of future work.<br>
<br>
--strk;<br>
<br>
 <a href="http://strk.keybit.net" target="_blank">http://strk.keybit.net</a><br>
<br>
</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></div>