BWAPI
|
#include <Arr_face_map.h>
Public Types | |
typedef Arrangement_ | Arrangement_2 |
typedef Arrangement_2::Face_handle | Face_handle |
typedef boost::readable_property_map_tag | category |
typedef unsigned int | value_type |
typedef value_type | reference |
typedef Face_handle | key_type |
Public Member Functions | |
Arr_face_index_map () | |
Arr_face_index_map (const Arrangement_2 &arr) | |
Arr_face_index_map (const Self &other) | |
Self & | operator= (const Self &other) |
unsigned int | operator[] (Face_handle f) const |
Face_handle | face (const int i) const |
Notification functions, to keep the mapping up-to-date. | |
virtual void | after_assign () |
virtual void | after_clear () |
virtual void | after_attach () |
virtual void | after_detach () |
virtual void | after_split_face (Face_handle, Face_handle new_f, bool) |
virtual void | before_merge_face (Face_handle, Face_handle f2, typename Arrangement_2::Halfedge_handle) |
typedef Arrangement_ Arr_face_index_map< Arrangement_ >::Arrangement_2 |
Reimplemented from Arr_observer< Arrangement_ >.
typedef boost::readable_property_map_tag Arr_face_index_map< Arrangement_ >::category |
typedef Arrangement_2::Face_handle Arr_face_index_map< Arrangement_ >::Face_handle |
Reimplemented from Arr_observer< Arrangement_ >.
typedef Face_handle Arr_face_index_map< Arrangement_ >::key_type |
typedef value_type Arr_face_index_map< Arrangement_ >::reference |
typedef unsigned int Arr_face_index_map< Arrangement_ >::value_type |
Arr_face_index_map< Arrangement_ >::Arr_face_index_map | ( | ) | [inline] |
Default constructor.
Arr_face_index_map< Arrangement_ >::Arr_face_index_map | ( | const Arrangement_2 & | arr | ) | [inline] |
Constructor with an associated arrangement.
Arr_face_index_map< Arrangement_ >::Arr_face_index_map | ( | const Self & | other | ) | [inline] |
Copy constructor.
virtual void Arr_face_index_map< Arrangement_ >::after_assign | ( | ) | [inline, virtual] |
Update the mapping after the arrangement has been assigned with another arrangement.
Reimplemented from Arr_observer< Arrangement_ >.
virtual void Arr_face_index_map< Arrangement_ >::after_attach | ( | ) | [inline, virtual] |
Update the mapping after attaching to a new arrangement.
Reimplemented from Arr_observer< Arrangement_ >.
virtual void Arr_face_index_map< Arrangement_ >::after_clear | ( | ) | [inline, virtual] |
Update the mapping after the arrangement is cleared.
Reimplemented from Arr_observer< Arrangement_ >.
virtual void Arr_face_index_map< Arrangement_ >::after_detach | ( | ) | [inline, virtual] |
Update the mapping after detaching the arrangement.
Reimplemented from Arr_observer< Arrangement_ >.
virtual void Arr_face_index_map< Arrangement_ >::after_split_face | ( | Face_handle | , |
Face_handle | new_f, | ||
bool | |||
) | [inline, virtual] |
Update the mapping after the creation of a new face is split from another face.
Reimplemented from Arr_observer< Arrangement_ >.
virtual void Arr_face_index_map< Arrangement_ >::before_merge_face | ( | Face_handle | , |
Face_handle | f2, | ||
typename Arrangement_2::Halfedge_handle | |||
) | [inline, virtual] |
Face_handle Arr_face_index_map< Arrangement_ >::face | ( | const int | i | ) | const [inline] |
Get the face given its index.
i | The index of the face. |
Self& Arr_face_index_map< Arrangement_ >::operator= | ( | const Self & | other | ) | [inline] |
Assignment operator.
unsigned int Arr_face_index_map< Arrangement_ >::operator[] | ( | Face_handle | f | ) | const [inline] |
Get the index of a given face.
f | A handle to the face. |