Bromeon
Public Member Functions
thor::Vertex Class Reference

Class that represents a point with X and Y coordinates. More...

Inherited by thor::ConcaveShape::Point.

List of all members.

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.

Detailed Description

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.


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