Gamp v0.0.7-54-gccdc599
Gamp: Graphics, Audio, Multimedia and Processing
Loading...
Searching...
No Matches
gamp::graph::impl Namespace Reference

Enumerations

enum class  Winding
 

Functions

constexpr double area2D (const VertexList &vertices) noexcept
 Computes the area of a list of vertices via shoelace formula.
 
constexpr Winding getWinding (const VertexList &vertices) noexcept
 Compute the winding using the area2D() function over all vertices for complex shapes.
 
static constexpr bool isConvex1 (const VertexList &polyline, bool shortIsConvex) noexcept
 Returns whether the given on-curve polyline points denotes a convex shape with O(n) complexity.
 
constexpr bool testTri2SegIntersection2D (const Vertex &a, const Vertex &b, const Vertex &c, const Vertex &d, const Vertex &e)
 Check if a segment intersects with a triangle using FloatUtil#EPSILON w/o considering collinear-case.
 

Enumeration Type Documentation

◆ Winding

enum class jau::math::geom::Winding : uint16_t
strong

Definition at line 35 of file geom.hpp.