|
Gamp v0.0.7-54-gccdc599
Gamp: Graphics, Audio, Multimedia and Processing
|
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. | |
|
strong |