mirror of https://github.com/CGAL/cgal
Replaced legacy CGAL::Object with modern boost::variant.
This commit is contained in:
parent
e28a0a05f1
commit
d73a944fa4
|
|
@ -101,10 +101,13 @@ Release date: July 2020
|
|||
As there exists an implicit conversion from `boost::variant` to `CGAL::Object`, the
|
||||
new code is backward compatible. However, it is recommended that all calls
|
||||
to the intersection functions are fixed to use the new return type.
|
||||
- Changed Make_x_monotone_2::operator()() return type from legacy [`CGAL::Object`](https://doc.cgal.org/5.1/STL_Extension/classCGAL_1_1Object.html)
|
||||
- Changed `Make_x_monotone_2::operator()(`) return type from legacy [`CGAL::Object`](https://doc.cgal.org/5.1/STL_Extension/classCGAL_1_1Object.html)
|
||||
to modern `boost::variant` in all traits concepts and models. As exaplained
|
||||
above, the code is backward compatible. However, it is recommended that all
|
||||
calls to Make_x_monotone_2::operator()() are fixed to use the new return type.
|
||||
calls to `Make_x_monotone_2::operator()()` are fixed to use the new return type.
|
||||
- Changed `decompose()` interface to use modern `boost::variant` instead of legacy [`CGAL::Object`](https://doc.cgal.org/5.1/STL_Extension/classCGAL_1_1Object.html)
|
||||
As exaplained above, the code is backward compatible. However, it is recommended that all
|
||||
calls to `decompose()` are fixed to use the new interface.
|
||||
|
||||
### [2D Regularized Boolean Set-Operations](https://doc.cgal.org/5.1/Manual/packages.html#PkgBooleanSetOperations2)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue