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

Namespaces

namespace  gl
 
namespace  impl
 
namespace  tess
 
namespace  ui
 

Classes

class  AABBox3f
 Axis Aligned Bounding Box. More...
 
class  AffineTransform
 Represents a affine 2x3 transformation matrix in column major order (memory layout). More...
 
class  Graph
 
class  Outline
 Define a single continuous stroke by control vertices. More...
 
class  OutlineShape
 A Generic shape objects which is defined by a list of Outlines. More...
 
class  Triangle
 
class  Vertex
 

Typedefs

typedef jau::darray< Outline, jau::nsize_tOutlineList
 
typedef std::shared_ptr< TriangleTriangleRef
 
typedef jau::darray< TriangleRef, uint32_t > TriangleRefList
 
typedef jau::darray< Vertex, uint32_t > VertexList
 

Enumerations

enum class  Winding
 
enum class  Winding
 
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 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 [1/3]

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

Definition at line 35 of file geom.hpp.

◆ Winding [2/3]

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

Definition at line 35 of file geom.hpp.

◆ Winding [3/3]

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

Definition at line 35 of file geom.hpp.