Subject: CGAL users discussion list
List archive
- From: calvin_cw <>
- To:
- Subject: [cgal-discuss] Using edge_collapse with an inherited polyhedron_3 class
- Date: Wed, 27 May 2020 01:29:12 -0500 (CDT)
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=SoftFail ; spf=Pass
- Ironport-phdr: 9a23:U9Vk9BQLbTkNFV9GHh0nLsoiB9psv+yvbD5Q0YIujvd0So/mwa6yZRKN2/xhgRfzUJnB7Loc0qyK6v2mADZbqs/Z6TgrS99lb1c9k8IYnggtUoauKHbQC7rUVRE8B9lIT1R//nu2YgB/Ecf6YEDO8DXptWZBUhrwOhBoKevrB4Xck9q41/yo+53Ufg5EmCexbal9IRmrrQjdrNQajZVsJ6o+1xfFvmZEcPlKyG11Il6egwzy7dqq8p559CRQtfMh98peXqj/Yq81U79WAik4Pm4s/MHkugXNQgWJ5nsHT2UZiQFIDBTf7BH7RZj+rC33vfdg1SaAPM32Sbc0WSm+76puVRTlhjsLOyI//WrKjMF7kaBVrw+7pxFnzYDaYJ+bOvljcKzSYdwUSnFMXtpTWiBdHo+wc5cDA/QHMO1Fr4f9vVwOrR6mCAawHuzvziFIhn7w3aIiz+sgHxzN0Qs8EN0UtHTUstT1NKEKXu+pwqjF1jXDb/RK2Tf48ofIcxQhreuQUrJ3dMrc0E8iHB7KgVuMs4LqJS+V1vgTvGiB6eptTeKhhW47pwx/oTWix9ogh4fLi4waxV3I6SZ0zYg2KNO2SUN3fcOoHYdMuyyUOIV7Xt0uTm90tSoky7ALuoC3cDYMxZ86yRDfbPmHfJKJ4hLlTOuRJy13i2l+d7K7mRm+61Svyur5VsSyzV1ErTJFn8HRun0J0xHf8MaKR/hn8kqi2DuDzQHe5+BCLEspj6TUMYQhzaQ1lpcLsUTMACv2mELuga+QeUgo4O6o5P78bbr9op+TKZV4hR35MqQrgsC/AOI4PRYSX2WD5Oix0Lnu8Vf3TbhJlPE7kajUvIrbKMkavqK5BhVa0ocn6xaxFTem19EYkGEbI11ffBKHkYnpO1fWL//kA/aymFSskDB3x/DDJLLhA5HNImLfn7fmeLZx81RcxxYrzdBD+5JUDakML+78WkDrsNzUFwI2Mw2vw+n7FdV9zZgeVHmUAq6ZNaPSqUWH6vguI+mKfo8VuSzyJ+Ir5/703jcFngoWcqCtmJcWc3ulBe9OIkODYHOqjM1SP30Nu181Rej0iVu1WiEbM327W7w94AYwF6qmCpvGT4GpxreG2XHoTdVtemlaBwXUQj/TfIKeVqJUMX7AEopaijUBEIOZZco5zxj37136zKZiJ+vQvCYfsMC7jYkn16jojRg3sAdMIYGY2mCJQXtzmzpTFT8xwKV2oEg7wVCGg/Mh3q5oUOdL7vYMaT8UcJ7Ry+sjVoL0BkTHd92DTFvgSdKjU2g8
I extended the polyhedron_3 class to include other parameters in each of the
point, edge, face class.
When i tried to use the edge_collapse class, it send an error regarding the
vertex_index_map in the boost template.
I managed to solve the problem in version 4.12.1 by including the following
line to extend the boost graph_traits and property map.
******************
namespace boost {
template <>
struct boost::graph_traits<feSurfaceMesh> :
public boost::graph_traits<Poly_3>
{};
} // namespace boost
namespace boost {
template <class Tag>
struct property_map<feSurfaceMesh, Tag> :
public property_map<Poly_3, Tag>
{};
} //namespace boost
***********************
however, in the version 5.0, this error cropped up again, sending an error
Severity Code Description Project File Line Suppression
State
Error C2039 'value_type': is not a member of
'boost::property_traits<bool>'
AutoBlocking2DFreeGLUT
D:\installedLibraries\CGAL-5.0.2\include\CGAL\Surface_mesh_simplification\Detail\Edge_collapse.h
71
Question : Do I need to extend the boost::property_traits? If so, how do I
do it?
thanks!
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- [cgal-discuss] Using edge_collapse with an inherited polyhedron_3 class, calvin_cw, 05/27/2020
- Re: [cgal-discuss] Using edge_collapse with an inherited polyhedron_3 class, Sebastien Loriot (GeometryFactory), 05/27/2020
- Re: [cgal-discuss] Using edge_collapse with an inherited polyhedron_3 class, calvin_cw, 05/29/2020
- Re: [cgal-discuss] Using edge_collapse with an inherited polyhedron_3 class, Sebastien Loriot (GeometryFactory), 05/27/2020
Archive powered by MHonArc 2.6.19+.