Conversation
…e first has all missing functions
…ojected traits tests
…erminant_2-danston' into Weights-new_package-danston
…erminant_2-danston' into Weights-new_package-danston
|
@maxGimeno Isn't this warning related to the |
|
@danston oh, you are right |
That warning is actually here: The compiler cannot know that The code should be: auto add_vpoint_pmap = add_property_map<Vertex_index, Point>("v:point");
CGAL_assume(add_vpoint_pmap.second == true);
vpoint_ = add_vpoint_pmap.first; |
|
@lrineau I suppose it should be a different PR to fix it, not this one, right? |
Returning false does not mean failing, it means that the property already exist internally. I'd be surprised if the proposed code fixes the warning. |
|
Should I prepare a small news entry for this feature for cgal.org? |
|
Sure |
|
I pushed 89aec88 directly in master adding the missing entry in the package overview. |
|
@MaelRL I have prepared a news entry for cgal.org and sent you it in pm. Thanks. |
This PR proposes a new Feature called
Weightsthat implements a set of analytic and barycentric weights.The weights implemented are:
This package is used in the new version (PR #5738) of the
Barycentric_coordinates_2package for computing weights. It will also be used later to update several CGAL packages with new weights:Polygon mesh Processing, severalSurface Meshrelated packages, andHeat Methodto unify the weight usage among different CGAL packages.Release Management
This PR depends on #5736.