<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 style>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">https://github.com/vishaltiwari/libgeos/blob/svn-trunk/src/triangulate/quadedge/QuadEdgeSubdivision.cpp</a></div>
<div><br></div><div><br></div><div style>Thanks,</div><div dir="ltr">Vishal<br></div>
</div></div>