<div dir="ltr">sorry to bother you, i just fixed it. :)</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 17 July 2013 12:53, vishal tiwari <span dir="ltr"><<a href="mailto:hi.vishal123@gmail.com" target="_blank">hi.vishal123@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey,<div><br></div><div>I am having a problem while return a Polygon pointer from getVoronoiPolygon to getVoronoiPolygons in [1]. When i print Coordinates of a Polygon, just before returning it, its shows me the correct values, but doesn't work if i print the same coordinates using the returned polygon. It gives the following error:</div>

<div><br></div><div><div>terminate called after throwing an instance of 'std::length_error'</div><div>  what():  vector::_M_range_insert</div><div>Aborted</div><div><br></div><div>I am stuck in it for a long time. Any clues on how i can fix it?</div>

<div><br></div><div>[1] <a href="https://github.com/vishaltiwari/libgeos/blob/svn-trunk/src/triangulate/quadedge/QuadEdgeSubdivision.cpp" target="_blank">https://github.com/vishaltiwari/libgeos/blob/svn-trunk/src/triangulate/quadedge/QuadEdgeSubdivision.cpp</a></div>

<div><br></div><div><br></div><div>Thanks,</div><div dir="ltr">Vishal<br></div>
</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>