Fido
 All Classes Namespaces Files Functions Variables Typedefs Macros Pages
Public Member Functions | List of all members
Line Class Reference

#include <Line.h>

Inherits Drawable.

Public Member Functions

 Line (const sf::Vector2f &point1_, const sf::Vector2f &point2_)
 
void draw (sf::RenderTarget &target, sf::RenderStates states) const
 
bool isLeft (sf::Vector2f center)
 
double distance (sf::Vector2f center)
 
double getThickness ()
 

Constructor & Destructor Documentation

Line::Line ( const sf::Vector2f &  point1_,
const sf::Vector2f &  point2_ 
)
inline

Member Function Documentation

double Line::distance ( sf::Vector2f  center)
inline
void Line::draw ( sf::RenderTarget &  target,
sf::RenderStates  states 
) const
inline
double Line::getThickness ( )
inline
bool Line::isLeft ( sf::Vector2f  center)
inline

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