KiCad PCB EDA Suite
|
#include <algorithm>
#include <geometry/seg.h>
#include <math/util.h>
#include <math/vector2d.h>
#include <trigo.h>
Go to the source code of this file.
Functions | |
template<typename T > | |
int | sgn (T aVal) |
template<typename T > | |
constexpr T | sqrt_helper (T x, T lo, T hi) |
template<typename T > | |
constexpr T | ct_sqrt (T x) |
template<typename T > | |
T | isqrt (T x) |
Variables | |
template<typename T > | |
static constexpr T | sqrt_max_typed = ct_sqrt( std::numeric_limits<T>::max() ) |
Definition at line 61 of file seg.cpp.
References T.
Referenced by SEG::Collide(), SEG::Distance(), and SEG::LineDistance().
Definition at line 33 of file seg.cpp.
References T.
Referenced by SEG::LineDistance(), and SEG::mutualDistanceSquared().
Definition at line 39 of file seg.cpp.
References sqrt_helper(), and T.
Referenced by sqrt_helper().