lists.rwth-aachen.de
Sign In
Sign Up
Manage this list
Sign In
Sign Up
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
OpenMesh
Thread
Start a new thread
Download
Threads by
month
----- 2024 -----
December
November
October
September
August
July
June
May
April
March
February
January
----- 2023 -----
December
November
October
September
August
July
June
May
April
March
February
January
----- 2022 -----
December
November
October
September
August
July
June
May
April
March
February
January
----- 2021 -----
December
November
October
September
August
July
June
May
April
March
February
January
----- 2020 -----
December
November
October
September
August
July
June
May
April
March
February
January
----- 2019 -----
December
November
October
September
August
July
June
May
April
March
February
January
----- 2018 -----
December
November
October
September
August
July
openmesh@lists.rwth-aachen.de
April 2024
1 participants
1 discussions
Non const qualified mesh type in getProperty
by bastian.abt@dlr.de
30 Apr '24
30 Apr '24
Hello, The function getProperty<
https://www.graphics.rwth-aachen.de/media/openmesh_static/Documentations/Op…
>() throws an exception if no property with the name exist. As such, it could be const qualified like the old property()<
https://www.graphics.rwth-aachen.de/media/openmesh_static/Documentations/Op…
> function. So far I had only limited time to look into this, but as get_property_handle<
https://www.graphics.rwth-aachen.de/media/openmesh_static/Documentations/Op…
> is const qualified, perhaps this only requires a new PropertyManager constructor similar this? ``` PropertyManager(const PolyConnectivity& mesh, const char *propname) : mesh_(mesh), retain_(true), name_(propname) { if (!mesh_.get_property_handle(prop_, propname)) { throw std::runtime_error("Property Handle does not exist") } } ``` Kind regards Bastian Abt
1
0
0
0
Results per page:
10
25
50
100
200