AbstractLine Class Reference
An Object class that is the base of the line-like Object's: Segment, Line and Ray. More...
Inheritance diagram for AbstractLine:

Collaboration diagram for AbstractLine:

Public Member Functions | |
| double | slope () const |
| Get the slope of this AbstractLine. | |
| const TQString | equationString () const |
| Get a string containing the equation of this line in the form "y
= a * x + b ". | |
| LineData | data () const |
| Get the LineData for this AbstractLine. | |
Static Public Member Functions | |
| static const ObjectType * | stype () |
| Returns the ObjectType representing the AbstractLine type. | |
Detailed Description
An Object class that is the base of the line-like Object's: Segment, Line and Ray.
Member Function Documentation
| double AbstractLine::slope | ( | ) | const |
Get the slope of this AbstractLine.
. For a line through points a( xa, ya ) and b ( xb, yb ), this means the value ( yb - ya ) / ( xb - xa ).
| static const ObjectType* AbstractLine::stype | ( | ) | [static] |
Returns the ObjectType representing the AbstractLine type.
Reimplemented from Curve.
