Implementation d'un nouvel algorithme de modification des conducteurs

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@125 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavierqet
2007-09-20 20:16:08 +00:00
parent 86f62aa972
commit 109476589b
9 changed files with 375 additions and 94 deletions

View File

@@ -1,6 +1,7 @@
#ifndef CONDUCER_SEGMENT_H
#define CONDUCER_SEGMENT_H
#include <QPointF>
#include "qet.h"
/**
Cette classe represente un segment de conducteur.
*/
@@ -41,6 +42,7 @@ class ConducerSegment {
QPointF middle() const;
bool isHorizontal() const;
bool isVertical() const;
QET::ConducerSegmentType type() const;
qreal length() const;
bool canMove1stPointX(const qreal &, qreal &) const;
bool canMove2ndPointX(const qreal &, qreal &) const;