kig
LineData Class Reference
  #include <common.h>
Public Member Functions | |
| LineData () | |
| LineData (const Coordinate &na, const Coordinate &nb) | |
| const Coordinate | dir () const | 
| bool | isOrthogonalTo (const LineData &l) const | 
| bool | isParallelTo (const LineData &l) const | 
| double | length () const | 
Public Attributes | |
| Coordinate | a | 
| Coordinate | b | 
Detailed Description
Simple class representing a line.
Used by various functions in Kig.
Definition at line 49 of file misc/common.h.
Constructor & Destructor Documentation
      
  | 
  inline | 
      
  | 
  inline | 
Member Function Documentation
      
  | 
  inline | 
| bool LineData::isOrthogonalTo | ( | const LineData & | l | ) | const | 
Return true if this line is orthogonal to l.
Definition at line 474 of file common.cpp.
| bool LineData::isParallelTo | ( | const LineData & | l | ) | const | 
Return true if this line is parallel to l.
Definition at line 459 of file common.cpp.
      
  | 
  inline | 
The length from a to b.
Definition at line 76 of file misc/common.h.
Member Data Documentation
| Coordinate LineData::a | 
One point on the line.
Definition at line 64 of file misc/common.h.
| Coordinate LineData::b | 
Another point on the line.
Definition at line 68 of file misc/common.h.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
            Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
    KDE API Reference