ProjGeom 1.0.11
Loading...
Searching...
No Matches
Namespaces | Functions
euclid_plane_measure.hpp File Reference

Euclidean plane measurement functions: quadrance, spread. More...

#include "euclid_plane.hpp"
Include dependency graph for euclid_plane_measure.hpp:

Go to the source code of this file.

Namespaces

namespace  fun
 

Functions

template<typename K >
requires Integral<K>
constexpr auto fun::quad1 (const K &x1, const K &z1, const K &x2, const K &z2)
 Compute squared difference of ratios (integral version).
 
template<typename K >
constexpr auto fun::quad1 (const K &x1, const K &z1, const K &x2, const K &z2)
 Compute squared difference of ratios (non-integral version).
 
template<ProjectivePlaneCoord2 Point>
constexpr auto fun::quadrance (const Point &a1, const Point &a2)
 Compute the quadrance between two points.
 
template<typename... Args>
constexpr auto fun::quadrance_copy (const Args &... args)
 Compute quadrances for multiple pairs of points.
 
template<ProjectivePlaneCoord2 Line, typename T >
constexpr auto fun::sbase (const Line &l1, const Line &l2, const T &d)
 Base function for spread and cross-spread.
 
template<ProjectivePlaneCoord2 Line>
constexpr auto fun::spread (const Line &l1, const Line &l2)
 Compute the spread between two lines.
 
template<ProjectivePlaneCoord2 Point>
constexpr auto fun::tri_quadrance (const Triple< Point > &triangle)
 Compute the quadrances of a triangle's sides.
 
template<ProjectivePlaneCoord2 Line>
constexpr auto fun::tri_spread (const Triple< Line > &trilateral)
 Compute the spreads of a triangle's angles.
 
template<ProjectivePlaneCoord2 Line>
constexpr auto fun::cross_s (const Line &l1, const Line &l2)
 Compute the cross spread between two lines.
 

Detailed Description

Euclidean plane measurement functions: quadrance, spread.