SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
cdt_impl.hpp File Reference
#include "meshkit/cdt.hpp"
#include "meshkit/coarseningqueue.hpp"
#include "predicates.h"
#include <array>
#include <algorithm>
#include <cmath>
#include <queue>
#include <cstring>
#include <limits>
#include <mutex>
Include dependency graph for cdt_impl.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  meshkit
 
namespace  meshkit::cdt_detail
 

Functions

std::uint64_t meshkit::cdt_detail::mortonKey (std::uint32_t x, std::uint32_t y)
 Interleave two unsigned 32-bit coordinates into a Morton ordering key.
 
std::uint64_t meshkit::cdt_detail::edgeKey64 (int a, int b)
 Pack a normalized integer vertex pair into a 64-bit undirected edge identity.
 
int meshkit::cdt_detail::keyLo (std::uint64_t k)
 Recover the smaller endpoint word from an edgeKey64 key.
 
int meshkit::cdt_detail::keyHi (std::uint64_t k)
 Recover the larger endpoint word from an edgeKey64 key.
 
template<class Point >
double meshkit::cdt_detail::orientPts (const Point &a, const Point &b, const Point &c)
 Evaluate adaptive orientation on three borrowed Cartesian points after predicate initialization.
 
template<class Point >
double meshkit::cdt_detail::dist2 (const Point &a, const Point &b)
 Compute ordinary squared Cartesian distance without overflow/finite checking.
 
template<class Point >
bool meshkit::cdt_detail::refinementCoincident (const Point &a, const Point &b)
 

Variables

std::once_flag meshkit::cdt_detail::gPredicatesInit
 
constexpr double meshkit::cdt_detail::kEquilateralArea = 0.4330127018922193