maths
Geometry, graphs and interpolation
Loading...
Searching...
No Matches
maths

Geometry, graphs and interpolation. More...

Concepts

concept  EqualityFn
 
concept  WeightFn
 

Classes

struct  Link
 
class  Graph< T, Equal, Kind >
 
class  Interpolate< k >
 

Enumerations

enum class  GraphKind { GraphKind::Directed , GraphKind::Undirected }
 

Functions

bool is_convex (Vector2f A, Vector2f B, Vector2f C, bool clockwise=true)
 check if the angle is convex or concave
 
bool is_concave (Vector2f A, Vector2f B, Vector2f C, bool clockwise=true)
 check if the angle is concave
 

Detailed Description

Geometry, graphs and interpolation.

Triangulation and Delaunay, minimum spanning trees and traversals, linear and cubic interpolation.

Enumeration Type Documentation

◆ GraphKind

enum class GraphKind
strong
Enumerator
Directed 
Undirected 

Function Documentation

◆ is_concave()

bool is_concave ( Vector2f  A,
Vector2f  B,
Vector2f  C,
bool  clockwise = true 
)
inline

check if the angle is concave

Parameters
A
B
C
clockwise
Returns
true
false

Polygon order | cross < 0 | cross > 0 | cross = 0 Clockwise | Convex | Concave | Straight Counter-clockwise | Concave | Convex | Straight

◆ is_convex()

bool is_convex ( Vector2f  A,
Vector2f  B,
Vector2f  C,
bool  clockwise = true 
)
inline

check if the angle is convex or concave

Parameters
A
B
C
clockwise
Returns
true
false

Polygon order | cross < 0 | cross > 0 | cross = 0 Clockwise | Convex | Concave | Straight Counter-clockwise | Concave | Convex | Straight