Subject: CGAL users discussion list
List archive
- From: Marcos Dione <>
- To:
- Subject: Re: [cgal-discuss] failed to create straightSkeleton
- Date: Tue, 30 Aug 2016 20:07:54 +0200
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=None ; spf=None
- Ironport-phdr: 9a23:XB8f0BOEAg5AQquJoYYl6mtUPXoX/o7sNwtQ0KIMzox0K/v9rarrMEGX3/hxlliBBdydsKMdzbaI+Pm5ByRAuc/H6y9SNsQUFlcssoY/oU8JOIa9E0r1LfrnPWQRPf9pcxtbxUy9KlVfA83kZlff8TWY5D8WHQjjZ0IufrymUt2as8Pi3O+7/9jfYh5DmSGmSbJ0NhS/6wvL5ecMho43D68rwRzS6ldJfOJbjTdtKVOUmRvU6d2t+J9otSNKtLQo7ZgTAu3BY60kQOkAX3wdOGcv6ZizuA==
On Tue, Aug 30, 2016 at 05:28:20PM +0200, Sebastien Loriot (GeometryFactory)
wrote:
> Expr: aPoly.is_simple() || !"The input polygon is not simple."
> File: include/CGAL/create_straight_skeleton_2.h
python-shapely[1], which is built on top of GEOS, just like PostGIS[3],
disagrees:
In [1]: import shapely.wkt
In [2]: s= open('121897178.wkt').read()
In [3]: sh= shapely.wkt.loads(s)
In [4]: sh.is_simple
Out[4]: True
A visual inspection of the feature does not reveal any crossing of
its (only) polygon, but the lines are really close. i see that CGAL does
not use any external lib for its internal representation, maybe the bug
is around there? Or, most probably, I'm making a mistake at some point.
Cheers,
-- Marcos.
--
[1] http://toblerity.org/shapely/manual.html
[2] https://trac.osgeo.org/geos/
[3]
http://postgis.net/docs/manual-2.2/postgis_installation.html#install_requirements
--
(Not so) Random fortune:
Terrorism isn't a crime against people or property. It's a crime against
our minds, using the death of innocents and destruction of property to
make us fearful.
-- Bruce Schneier
- [cgal-discuss] failed to create straightSkeleton, Marcos Dione, 08/30/2016
- Re: [cgal-discuss] failed to create straightSkeleton, Sebastien Loriot (GeometryFactory), 08/30/2016
- Re: [cgal-discuss] failed to create straightSkeleton, Marcos Dione, 08/30/2016
- Re: [cgal-discuss] failed to create straightSkeleton, Sebastien Loriot (GeometryFactory), 08/30/2016
- Re: [cgal-discuss] failed to create straightSkeleton, Marcos Dione, 08/30/2016
- Re: [cgal-discuss] failed to create straightSkeleton, Sebastien Loriot (GeometryFactory), 08/31/2016
- Re: [cgal-discuss] failed to create straightSkeleton, Marcos Dione, 08/31/2016
- Re: [cgal-discuss] failed to create straightSkeleton, Sebastien Loriot (GeometryFactory), 08/31/2016
- Re: [cgal-discuss] failed to create straightSkeleton, Marcos Dione, 08/30/2016
- Re: [cgal-discuss] failed to create straightSkeleton, Sebastien Loriot (GeometryFactory), 08/30/2016
- Re: [cgal-discuss] failed to create straightSkeleton, Marcos Dione, 08/30/2016
- Re: [cgal-discuss] failed to create straightSkeleton, Sebastien Loriot (GeometryFactory), 08/30/2016
Archive powered by MHonArc 2.6.18.