[geos-devel] vector::_M_range_insert error

vishal tiwari hi.vishal123 at gmail.com
Wed Jul 17 00:58:45 PDT 2013


sorry to bother you, i just fixed it. :)


On 17 July 2013 12:53, vishal tiwari <hi.vishal123 at gmail.com> wrote:

> Hey,
>
> 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:
>
> terminate called after throwing an instance of 'std::length_error'
>   what():  vector::_M_range_insert
> Aborted
>
> I am stuck in it for a long time. Any clues on how i can fix it?
>
> [1]
> https://github.com/vishaltiwari/libgeos/blob/svn-trunk/src/triangulate/quadedge/QuadEdgeSubdivision.cpp
>
>
> Thanks,
> Vishal
>



-- 
Vishal Tiwari
Undergraduate
Computer Science and Engineering
Lab for Spatial Informatics
IIIT-Hyderabad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geos-devel/attachments/20130717/32b11d78/attachment.html>


More information about the geos-devel mailing list