33#ifdef OGDF_INCLUDE_CGAL
49template<
typename Kernel,
bool parallel = false>
52 using Segment = geometry::LineSegment_t<Kernel>;
53 using Point = geometry::Point_t<Kernel>;
57 std::vector<omp_lock_t>
locks;
87 std::vector<Node> edges;
107 unsigned int degree(
const Node v)
const {
108 if (edges[3 * v + 2] != v) {
110 }
else if (edges[3 * v + 1] != v) {
112 }
else if (edges[3 * v] != v) {
142 unsigned int i =
_u * 3;
144 if (edges[i] !=
_v && edges[i + 1] !=
_v && edges[i + 2] !=
_v) {
147 unsigned int off = 0;
150 if (edges[i + 1] !=
_u) {
166 bool is_left(
const Node v)
const {
178 if (
li.left_is_valid()) {
191 unsigned int pos = 2 * (
is.pos(segment) - 1);
203 unsigned int pos = 2 *
is.pos(segment);
212 if (
li.left_is_valid()) {
220 if (
li.left_is_valid()) {
Basic declarations, included by all source files.
#define OGDF_ASSERT(expr)
Assert condition expr. See doc/build.md for more information.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.