List of all members
thor::TriangulationTraits< V > Struct Template Reference

Traits template to implement the Vertex concept. More...

Detailed Description

template<typename V>
struct thor::TriangulationTraits< V >

Traits template to implement the Vertex concept.

Specializations of this class template shall contain a method with a signature compatible to the following one. The returned value represents the position of the user-defined vertex.

static sf::Vector2f getPosition(const V& vertex);

By default, a member function V::getPosition() is invoked.
The traits template is already specialized for sf::Vector2f.


The documentation for this struct was generated from the following file: