Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
FaceSet.h
Go to the documentation of this file.
1
32#pragma once
33
36#include <ogdf/basic/basic.h>
38
39namespace ogdf {
40
42
51class OGDF_EXPORT FaceSet : public RegisteredSet<ConstCombinatorialEmbedding> {
52public:
53 using RegisteredSet::RegisteredSet;
55
57 const list_type& faces() const { return elements(); }
58
61 OGDF_ASSERT(RegisteredSet::registeredAt());
62 return *registeredAt();
63 }
64};
65
66}
Declaration of CombinatorialEmbedding and face.
Declaration and implementation of ogdf::RegisteredSet.
Basic declarations, included by all source files.
Combinatorial embeddings of planar graphs.
Face sets.
Definition FaceSet.h:51
const ConstCombinatorialEmbedding & embeddingOf() const
Returns the associated combinatorial embedding.
Definition FaceSet.h:60
const list_type & faces() const
Returns a reference to the list of faces contained in this set.
Definition FaceSet.h:57
Constant-time set operations.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF dynamic library (shared object / DLL),...
Definition config.h:117
Utility macros for declaring copy and move constructors and assignment operations.
#define OGDF_DEFAULT_COPY(cls)
Explicitly provides default copy construction and assignment for class cls.
Definition copy_move.h:47
#define OGDF_ASSERT(expr)
Assert condition expr. See doc/build.md for more information.
Definition basic.h:52
The namespace for all OGDF objects.