Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] 回复: 回复: 回复: difference for 2d polygons return incorrect polygon
Chronological Thread
- From: axnmol <>
- To:
- Subject: Re: [cgal-discuss] 回复: 回复: 回复: difference for 2d polygons return incorrect polygon
- Date: Mon, 27 Apr 2020 02:58:12 -0500 (CDT)
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=SoftFail ; spf=Pass
- Ironport-phdr: 9a23:JNTfIBAcrmNRrjq4GFG/UyQJP3N1i/DPJgcQr6AfoPdwSPryosbcNUDSrc9gkEXOFd2Cra4d1qyL4+u5AzBIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfLN/IA+2oAjSucUanJVuJ6kswRbVv3VEfPhby3l1LlyJhRb84cmw/J9n8ytOvv8q6tBNX6bncakmVLJUFDspPXw7683trhnDUBCA5mAAXWUMkxpHGBbK4RfnVZrsqCT6t+592C6HPc3qSL0/RDqv47t3RBLulSwKMSMy/mPKhcxqlK9VrhKvqQJ8zYHWboGbKfVxcb/Sc94BWWpMXNpdWzBdDo+gcYcCCfcKM+ZCr4n6olsDtQGxBAaqBOPqzT9IgmL90Kog3OUuFwHJwRAgH88VvXTbqdX6LqYSUeSvwKbUyjXDaupb1DHg44bGdRAhpOuDXbN2ccfJz0kgDRjKgU6UqYP7JT+ayuMNs22d4uF9Vuyvk3Yqpxx1rzWr3MshhIrEipgWx13F7yl0wYc4KNulQ0Bhe9GkCoFftySCOot2XMwiR2ZotT48yrAJo5K7ejIFx488yB7bdfOLaZSH4hXmVOqJIDd4gmxqeK6nihqv9UWtzvfwW8e33VpQrSdIk8PAu3EM2hDL78iIUPp9/kOv2TaV0ADT7/lJLlo7lKrdNpEh3qMwm4EcsUTGBCD2mUH2gLWKeUUj/+ik8/7nban+pp+AK490jRnzPbghmsOlBeQ0KxUBX2mA+eugyb3j5lb5Ta5Rjvw2l6nZqIrVKd4apq6/GQ9V05ws5wyxDze8g5wkmiwMI1tBPR6GlIP0IErmIfbiDP75jU7/vi1swqXPLrvkBZGFenHTlrv9YJ5y7kddzEw4ytUJtMEcMa0IPP+mAhy5j9ffFBJsa1XokdaiM81008YlYUzKGrWQafqAvlqB5+ZpKO6JNtdM5WTNbsM97vurtkcX3F8Qea7wgMkRNDa+F/5sJ0jfan3p0I5YQDU6+zEmRemvs2WsFDtaZnK8RaU5v2hpB4evDIOFTYeo0ueM
Hey Luoyo,
I don't think the points you are expecting here are collinear. Thats why the
resultant polygon includes the point (220.240005 , -121.932671).
<http://cgal-discuss.949826.n4.nabble.com/file/t376209/Capture.png>
The graphing software you are using may be doing some rounding error as i
may not be using exact predicates. You can check if these points are
collinear in CGAL as :
Point_2 x, y, z;
x = Point_2(220.240005, -121.932671);
y = Point_2(-369.040009, -439.420013);
z = Point_2(-49.0955925, -267.043030);
if (CGAL::collinear(x, y, z))std::cout << "yes";
Regards.
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- [cgal-discuss] difference for 2d polygons return incorrect polygon, Luoyu, 04/26/2020
- Re: [cgal-discuss] difference for 2d polygons return incorrect polygon, Efi Fogel, 04/26/2020
- [cgal-discuss] 回复: difference for 2d polygons return incorrect polygon, 落 域, 04/26/2020
- Re: [cgal-discuss] 回复: difference for 2d polygons return incorrect polygon, Efi Fogel, 04/26/2020
- [cgal-discuss] 回复: 回复: difference for 2d polygons return incorrect polygon, 落 域, 04/26/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
- Re: [cgal-discuss] 回复: 回复: difference for 2d polygons return incorrect polygon, axnmol, 04/27/2020
- Re: [cgal-discuss] 回复: difference for 2d polygons return incorrect polygon, Efi Fogel, 04/26/2020
- [cgal-discuss] 回复: difference for 2d polygons return incorrect polygon, 落 域, 04/26/2020
- Re: [cgal-discuss] difference for 2d polygons return incorrect polygon, Efi Fogel, 04/26/2020
Archive powered by MHonArc 2.6.18.