Subject: CGAL users discussion list
List archive
- From: axnmol <>
- To:
- Subject: Re: [cgal-discuss] difference for 2d polygons return incorrect polygon
- Date: Sun, 26 Apr 2020 20:38:43 -0500 (CDT)
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=SoftFail ; spf=Pass
- Ironport-phdr: 9a23:bW94DBB06mH2tVHd6x/gUyQJP3N1i/DPJgcQr6AfoPdwSPrypcbcNUDSrc9gkEXOFd2Cra4d1qyL4+u8CSQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTagYb5+NhW7oAbeusQZgoZpN7o8xAbOrnZUYepd2HlmJUiUnxby58ew+IBs/iFNsP8/9MBOTLv3cb0gQbNXEDopPWY15Nb2tRbYVguA+mEcUmQNnRVWBQXO8Qz3UY3wsiv+sep9xTWaMMjrRr06RTiu86FmQwLuhSwaNTA27XvXh9R+gqxbvhyvpB5ww4DJbo6aKPVwcbjQfc8YSGZdQspdSzBNDp26YoASD+QBJ+FYr4zlqlQUohq+AwysBOTryjRVgXL5x6I70+I8HgHawQwtBN0OsHHOo9X0MKceS/y6zK7NzTjaaf5dxDnz6I/Nch87oPGMW6p9cczLxkY0DAzFikufpZb5MDOS0+QAtXWQ4el4Ve+3lmIqrwV8riKhy8ovkIXEhYMYxkrF+Ch4xos+OMe2R1RhYdG+FZtdryGaOJVyQsMlW2xovik3xqcAuZGhZycF05AnyADFZ/ObdIiI5wrvVOeXIThmmHJoYK+zihK2/ES6xODxVdO43VVLoyZfk9TBt2gB1xnJ5ciGTvt98F2h2TGK1w3L8O5FLkY0mrfHK5482bMwmZ8Tvl7CHi/ygkn5kKiWdkA89uiy9+vneqnmpoObN4Jslg7+Pb4hmsimDeslMwgORHSU+fmn1L345kD5W7VLjvgukqbDqpzaJMIbprS4AwBPyIoj5Qy/XH+a14ETknADaV5EYxmalJPBOlfUIfm+A+3srU6rlWJi1/bDObmpVpzdKHTfjZ/ueL987whXzw9lnoMX3I5dFrxUeKG7YUT2rtGNVkZoYTzx+P7uDZBG7q1bXGuOBqGDN6aL6A2H4+suJ6+HY4pH42+hechg3ObniDoCoXFYZbOghMJFZ3WxH/AgKEKcMyK134UxVFwStw97d9TEzV2PVTkKOiS0A+Q67zsxDI/gBoDGFNmg
Hey Luoyu,
As Efi said, i don't think there is anything wrong with the code in
particular. I have run the code and considered only first two holes as
third hole is the polygon itself. It executed successfully with the right
output polygon output as : [ 4 vertices: (-369.04 -439.42) (220.24 -121.933)
(220.24 186.446) (-369.04 481.65) ]. And with the third hole included it
gives the expected output of no polygon as defined.
If you are able to find a combination of points for which it fails, i would
be glad to help.
Regards,
Anmolpreet
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- [cgal-discuss] 回复: 回复: difference for 2d polygons return incorrect polygon, (continued)
- [cgal-discuss] 回复: 回复: difference for 2d polygons return incorrect polygon, 落 域, 04/27/2020
- Re: [cgal-discuss] 回复: 回复: difference for 2d polygons return incorrect polygon, axnmol, 04/27/2020
- [cgal-discuss] 回复: 回复: 回复: difference for 2d polygons return incorrect polygon, 落 域, 04/27/2020
- Re: [cgal-discuss] 回复: 回复: 回复: difference for 2d polygons return incorrect polygon, axnmol, 04/27/2020
- [cgal-discuss] 回复: 回复: 回复: 回复: difference for 2d polygons return incorrect polygon, 落 域, 04/27/2020
- Re: [cgal-discuss] 回复: 回复: 回复: 回复: difference for 2d polygons return incorrect polygon, axnmol, 04/27/2020
- [cgal-discuss] 回复: 回复: 回复: 回复: 回复: difference for 2d polygons return incorrect polygon, 落 域, 04/27/2020
- Re: [cgal-discuss] 回复: 回复: 回复: 回复: 回复: difference for 2d polygons return incorrect polygon, axnmol, 04/27/2020
- [cgal-discuss] 回复: 回复: 回复: 回复: 回复: 回复: difference for 2d polygons return incorrect polygon, 落 域, 04/27/2020
- Re: [cgal-discuss] 回复: 回复: 回复: 回复: 回复: 回复: difference for 2d polygons return incorrect polygon, axnmol, 04/27/2020
- [cgal-discuss] 回复: 回复: 回复: difference for 2d polygons return incorrect polygon, 落 域, 04/27/2020
- Re: [cgal-discuss] 回复: 回复: difference for 2d polygons return incorrect polygon, axnmol, 04/27/2020
- [cgal-discuss] 回复: 回复: difference for 2d polygons return incorrect polygon, 落 域, 04/27/2020
Archive powered by MHonArc 2.6.18.