Removed unused typedefs

This commit is contained in:
Efi Fogel 2025-09-10 18:35:30 +03:00
parent bc29da5ee3
commit e73cf18c12
1 changed files with 2 additions and 5 deletions

View File

@ -56,11 +56,8 @@ public:
* \param arr The given arrangement.
*/
void after_scan(Arrangement& arr) {
typedef typename Arrangement::Geometry_traits_2 Traits;
typedef typename Traits::Compare_endpoints_xy_2 Compare_endpoints_xy_2;
typedef typename Traits::Construct_opposite_2 Construct_opposite_2;
typedef typename Traits::X_monotone_curve_2 X_monotone_curve_2;
typedef typename Arrangement::Edge_iterator Edge_iterator;
using Traits = typename Arrangement::Geometry_traits_2;
using X_monotone_curve_2 = typedef typename Traits::X_monotone_curve_2;
Traits tr;
auto cmp_endpoints = tr.compare_endpoints_xy_2_object();