Subject: CGAL users discussion list
List archive
- From: aseverino <>
- To:
- Subject: Re: [cgal-discuss] Split a mesh along a set of N consecutive halfedges.
- Date: Fri, 30 Nov 2018 07:56:55 -0600 (CST)
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=SoftFail ; spf=Pass
- Ironport-phdr: 9a23:jZovRRahn2slByhhznWFtQf/LSx+4OfEezUN459isYplN5qZoMq4bnLW6fgltlLVR4KTs6sC17KG9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCa+bL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjmk8qxlSgLniD0fOjA38G/ZlM9+g6BVoBy8qBNw34HabZqJNPd8Yq/RYc8WSXZfUstXSidPApm8b4wKD+cZJ+lYtJfyp0UQohukBAmsAuTvwSJPi3Ds2a01zesgHhvA3AM9BdIBrm7Yo8/vOKcJT++10rfHzS/Cb/NQ3jfw84fIchU7rvGNWbJ8a9beyU4qFw7ciFibtILrPzSQ1usXsmib6fJtVeS1hGE8sA5xpiagyt0whYnOg4IYzE3P+yZhwIstONG1TEp2bcSqHZZTrS2XNIp7TtkjTmxpvisx16cItoShfCcQzZQq3x7fZOKDc4iP+h/jUumcLS1+hH1/Y72wnBKy/la6xuLgUcm01U5GritDktbSqnAAzwHf58yDR/dn8Eqs2iyD2gPS5+1eIE05lLLXK5s7zb4xkpoTv17DHijzmEjulqCWclsr++ey5OThf7rmvIGTO5VuhQ3kKaQhhNK/DvoiMggPWWib/v+x1LLm/ULjQbVKiuc6nbXesJDfPcgbvLK2AxdJ0oY/7BayFyup0NsCknkDNV5KZROHj5P1NFHTO/D4Fuyyg0+skTdu3/DJJKftApTLLnjZkbfuZ6xx60BGyFl78dcK7J1dDvQNIen4R1TqnN3eFB4wdQKukMj9D9Ao35gTR2+VA6meePfbtVKY7+QjOeTKbckOtSjwMfkj4NbhiHY4nRkWeqz/jshfU2yxAvkzexbRWnHrmNpUST5b7Dp7d/TjjRi5aRAWYn+zW6wm4TRiUdCpCI7CQsamh7nTh37nTK0TXXhPDxW3KVmtb5+NAq5eZyebI8snmTsBB+D4Ft0RkCq2vQq/8IJJa+rZ/ipB6MDliJ5z7ufZkRx0/jtxXZ2Q
I'm sorry if it's inconvenient, but I'm pretty new to CGAL, and I wouldn't
know where to go from this point onward:
Triangle_mesh::Property_map<Triangle_mesh::Edge_index, bool> ecm =
m_cgal_mesh2.add_property_map<Triangle_mesh::Edge_index,
bool>("ecm",
false).first;
for (auto& c : cutting_points) {
c.inserted_hh = CGAL::Euler::split_edge(c.orig_hh,
m_cgal_mesh2);
auto v = m_cgal_mesh2.target(c.inserted_hh);
m_cgal_mesh2.point(v) = c.point;
c.spline = CGAL::Euler::split_face(c.inserted_hh,
m_cgal_mesh2.next(c.orig_hh), m_cgal_mesh2);
ecm[m_cgal_mesh2.edge(c.spline)] = true;
}
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- [cgal-discuss] Split a mesh along a set of N consecutive halfedges., aseverino, 11/30/2018
- Re: [cgal-discuss] Split a mesh along a set of N consecutive halfedges., Sebastien Loriot (GeometryFactory), 11/30/2018
- Re: [cgal-discuss] Split a mesh along a set of N consecutive halfedges., aseverino, 11/30/2018
- Re: [cgal-discuss] Split a mesh along a set of N consecutive halfedges., aseverino, 11/30/2018
- Re: [cgal-discuss] Split a mesh along a set of N consecutive halfedges., aseverino, 11/30/2018
- Re: [cgal-discuss] Split a mesh along a set of N consecutive halfedges., Sebastien Loriot (GeometryFactory), 11/30/2018
Archive powered by MHonArc 2.6.18.