|
P-E-R-R-Y
Utilitaires, contrats et vendors du moteur, en une seule doc
|
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 | |
Geometry, graphs and interpolation.
Triangulation and Delaunay, minimum spanning trees and traversals, linear and cubic interpolation.
Geometry, graphs and interpolation.
Header-only, no dependency.
|
strong |
check if the angle is concave
| A | |
| B | |
| C | |
| clockwise |
Polygon order | cross < 0 | cross > 0 | cross = 0 Clockwise | Convex | Concave | Straight Counter-clockwise | Concave | Convex | Straight
check if the angle is convex or concave
| A | |
| B | |
| C | |
| clockwise |
Polygon order | cross < 0 | cross > 0 | cross = 0 Clockwise | Convex | Concave | Straight Counter-clockwise | Concave | Convex | Straight