29 #ifndef THOR_TRIANGULATION_HPP
30 #define THOR_TRIANGULATION_HPP
32 #include <SFML/System/Vector2.hpp>
36 #include <Aurora/Tools/ForEach.hpp>
37 #include <Aurora/SmartPtr/CopiedPtr.hpp>
45 #include <type_traits>
68 template <
typename InputIterator,
typename OutputIterator>
69 OutputIterator
triangulate(InputIterator verticesBegin, InputIterator verticesEnd, OutputIterator trianglesOut);
85 template <
typename InputIterator1,
typename InputIterator2,
typename OutputIterator>
87 InputIterator2 constrainedEdgesBegin, InputIterator2 constrainedEdgesEnd, OutputIterator trianglesOut);
99 template <
typename InputIterator,
typename OutputIterator>
100 OutputIterator
triangulatePolygon(InputIterator verticesBegin, InputIterator verticesEnd, OutputIterator trianglesOut);
115 template <
typename InputIterator,
typename OutputIterator1,
typename OutputIterator2>
116 OutputIterator1
triangulatePolygon(InputIterator verticesBegin, InputIterator verticesEnd, OutputIterator1 trianglesOut, OutputIterator2 edgesOut);
122 #include <Thor/Math/Detail/Triangulation.inl>
123 #endif // THOR_TRIANGULATION_HPP
OutputIterator triangulateConstrained(InputIterator1 verticesBegin, InputIterator1 verticesEnd, InputIterator2 constrainedEdgesBegin, InputIterator2 constrainedEdgesEnd, OutputIterator trianglesOut)
Constrained Delaunay Triangulation.
OutputIterator triangulate(InputIterator verticesBegin, InputIterator verticesEnd, OutputIterator trianglesOut)
Delaunay Triangulation.
Definition: AnimationMap.hpp:42
OutputIterator1 triangulatePolygon(InputIterator verticesBegin, InputIterator verticesEnd, OutputIterator1 trianglesOut, OutputIterator2 edgesOut)
Polygon Delaunay Triangulation.