Play 'round
Public Member Functions | Protected Attributes
Line Class Reference

A line shape. More...

#include <Shape.h>

Inheritance diagram for Line:
Shape

List of all members.

Public Member Functions

 Line (Point2D p1, Point2D p2)
virtual void draw ()
virtual Point2D getP1 ()
virtual Point2D getP2 ()
virtual void setPoints (Point2D p1, Point2D p2)
virtual float getDistance (Point2D pos)
 Returns the distance with another point.
virtual float getParallelPosition (Point2D pos)

Protected Attributes

Point2D m_p1
Point2D m_p2

Detailed Description

A line shape.


The documentation for this class was generated from the following files:
 All Classes Functions Enumerations