Class that represents a point with X and Y coordinates. More...
Inherited by thor::ConcaveShape::Point.
Public Member Functions | |
Vertex (sf::Vector2f position) | |
Constructs a vertex with the specified position. | |
Vertex (float x, float y) | |
Constructs a vertex with the specified position. | |
sf::Vector2f | GetPosition () const |
Returns the vertex's position. |
Class that represents a point with X and Y coordinates.
Vertices are needed for algorithms like triangulations. You can inherit this class, if you want to associate more informations than just the position.