21#ifndef GF_TRIANGULATION_H
22#define GF_TRIANGULATION_H
31#ifndef DOXYGEN_SHOULD_SKIP_THIS
51 : m_points{ &p0, &p1 }
62 return *m_points[index];
86 : m_points{ &p0, &p1, &p2 }
97 return *m_points[index];
106 return *m_points[index];
124#ifndef DOXYGEN_SHOULD_SKIP_THIS
A reference to an edge (two points)
Definition: Triangulation.h:40
const T & operator[](std::size_t index) const
Access the points of the edge.
Definition: Triangulation.h:61
EdgeRef(const T &p0, const T &p1)
Constructor with two points.
Definition: Triangulation.h:50
A span.
Definition: Span.h:414
A reference to a triangle (three points)
Definition: Triangulation.h:74
T & operator[](std::size_t index)
Access the points of the triangle.
Definition: Triangulation.h:105
TriangleRef(T &p0, T &p1, T &p2)
Constructor with three points.
Definition: Triangulation.h:85
const T & operator[](std::size_t index) const
Access the points of the triangle.
Definition: Triangulation.h:96
GF_CORE_API std::vector< TriangleRef< const Vector2f > > triangulation(Span< const Vector2f > points)
Compute a Delaunay triangulation of a set of points.
The namespace for gf classes.