Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] How can I fetch the label value of a mesh vertices?
- Date: Mon, 9 Sep 2019 06:45:53 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:54HQkRHOADV13j88UxH5np1GYnF86YWxBRYc798ds5kLTJ7ypcuwAkXT6L1XgUPTWs2DsrQY0rCQ6vC9Ejxfqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba5sIBmssAnctckbjYRhJ6sz1xDEvmZGd+NKyG1yOFmdhQz85sC+/J5i9yRfpfcs/NNeXKv5Yqo1U6VWACwpPG4p6sLrswLDTRaU6XsHTmoWiBtIDBPb4xz8Q5z8rzH1tut52CmdIM32UbU5Uims4qt3VBPljjoMOjgk+2/Vl8NwlrpWrg+/qRxxw4DaY4+bO/RxcazfYdwUSnFMXtpTWiFbHo+wc4UCAugHMO1Fr4f9vVwOrR6mCAWiGe3g1CRHiWXt3a0m0uQuDwfG1xEmEdIJqnTUrdL1NLsPWuyxzafH0zLDb/ZI1jfh8ojJchAvruuQUrJsdsrR00kuGwbLgl6NroHlJDeV1uMXs2ia6OpgSfiji2sjqwxqrTivw90jiojNho4P1l/E8iB5zZ8zKNalRkB7ZtukH4FRtyGcL4Z2RNktTHpztyY+1LIKo4K0fC8PyJg/2xHfZOaIc4yS7hLkTuaRLjF1j29mdrKnnxu+71Ssx+nmWsS30FtGtDdJnsfPu3wX2BHe5NCLRuVn8Uu9xDqC0h7c5+9LLE0xi6XbJZ8szaI1m5YOvknMBTP6lUDog6CLaEop9O2l5/rnb7joqJKRMoF5hwXjPaQgn8GwHfg3PwkQUGWd5O+yzqfs/VfjT7VPlvA2krfWsJTdJckDo662GQ5V0oI65xexCjeqzc0UnXcIIV9LYh6HgI/pO1bBIPD8E/izmUijkDBux/zeP73hBIvCLmTbnbv/Ybpw71RQxQkzwNxF+p5YFLIMLOj8V0L/rNDYCwU2Mw2ww+bpEtV90YYeVHqUAq+dN6PSq16I5uUzI+WWYY8VvC3wK/cg5/H0jH85nUURcrWu3ZsScHy4BOhpI12FYXrwhdcMCXsFvgUkQ+zukVGNTD9TZ22uUKIh/TE7E5mrDZzDR4ComLyOxj23HpxQZmBcC1CDC23kd4ueW6REVCXHKcBolnkIVKOqVpQ6/RCorg7zjbR9fcTO/ShN/6nu3tFu++zek1kW8iZ1CNjVk06ASGR5gnkZaTY9wKdlsA03ggOY1a9igvtEU9lXz/xMWwY+c5XbyropWJjJRgvdc4LRGx6dSdK8DGRpF4Nj85o1e094Xu6aoFXG1iuuDaUSkuXSVpMx+6PYmXP2IpQkkiqU5Owal1AjB/B3Gyi+nKcmrlrcAofIlwOSkKP4Lf1Bjh6Iz3+KyC+1hG8dUAN0Vv+YD3UWZ0+TstGgo02eFPmhDrMoNgYHwsmHePNH
As documented, you need to create the property with
mesh.add_property_map<A,B>(default)
See https://doc.cgal.org/latest/Surface_mesh/#title7 for an example.
Sebastien.
On 9/9/19 6:41 AM, Shrabani Ghosh wrote:
Thank you for your response.
I am getting error even using (label,vd),
is this line correct?
Mesh::Property_map<vertex_descriptor, std::int> label;
It showing error when I am using int but when I tried string it does not
show error but I am getting below output.
terminate called after throwing an instance of 'CGAL::Assertion_exception'
what(): CGAL ERROR: assertion violation!
Expr: parray_ != NULL
File: /home/sghos003/CGAL-4.13.1/include/CGAL/Surface_mesh/Properties.h
Line: 518
I am not understanding what wrong I am doing. the label value should be an
int value, I tried to even use template. But nothing worked.
Regards
Shrabani
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- [cgal-discuss] How can I fetch the label value of a mesh vertices?, Shrabani Ghosh, 09/05/2019
- Re: [cgal-discuss] How can I fetch the label value of a mesh vertices?, Sebastien Loriot (GeometryFactory), 09/06/2019
- Re: [cgal-discuss] How can I fetch the label value of a mesh vertices?, Shrabani Ghosh, 09/07/2019
- Re: [cgal-discuss] How can I fetch the label value of a mesh vertices?, Sebastien Loriot (GeometryFactory), 09/09/2019
- Re: [cgal-discuss] How can I fetch the label value of a mesh vertices?, Shrabani Ghosh, 09/09/2019
- Re: [cgal-discuss] How can I fetch the label value of a mesh vertices?, Sebastien Loriot (GeometryFactory), 09/09/2019
- Re: [cgal-discuss] How can I fetch the label value of a mesh vertices?, Shrabani Ghosh, 09/09/2019
- Re: [cgal-discuss] How can I fetch the label value of a mesh vertices?, Sebastien Loriot (GeometryFactory), 09/09/2019
- [cgal-discuss] ?????? [cgal-discuss] How can I fetch the label value of a meshvertices?, ????, 09/09/2019
- Re: [cgal-discuss] 回复: How can I fetch the label value of a meshvertices?, Shrabani Ghosh, 09/10/2019
- Re: [cgal-discuss] How can I fetch the label value of a mesh vertices?, Shrabani Ghosh, 09/10/2019
- Re: [cgal-discuss] How can I fetch the label value of a mesh vertices?, Shrabani Ghosh, 09/09/2019
- Re: [cgal-discuss] How can I fetch the label value of a mesh vertices?, Sebastien Loriot (GeometryFactory), 09/09/2019
- Re: [cgal-discuss] How can I fetch the label value of a mesh vertices?, Shrabani Ghosh, 09/09/2019
- Re: [cgal-discuss] How can I fetch the label value of a mesh vertices?, Sebastien Loriot (GeometryFactory), 09/09/2019
- Re: [cgal-discuss] How can I fetch the label value of a mesh vertices?, Shrabani Ghosh, 09/07/2019
- Re: [cgal-discuss] How can I fetch the label value of a mesh vertices?, Sebastien Loriot (GeometryFactory), 09/06/2019
Archive powered by MHonArc 2.6.18.