I have an Arrangement_2
class, instantiated with a custom Arr_face_extended_dcel
to map some data to each cell.
I'd like to find some cells with a locate
invocation and change their associated data, but unfortunately locate
returns an iterator to some Face_const_handle
s, so I can't invoke set_data(...)
because that would break the const
ness.
So, my question: is there a way to efficiently change the data mapped to a face found with a locate
without resorting to nasty const_cast
s?