Premier jet pour l'implementation des jonctions de conducteurs

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@189 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavierqet
2007-10-20 19:27:16 +00:00
parent 21cc2c67a6
commit 22969aabd7
4 changed files with 167 additions and 7 deletions

View File

@@ -497,3 +497,8 @@ qreal ConductorSegment::length() const {
QET::ConductorSegmentType ConductorSegment::type() const {
return(isHorizontal() ? QET::Horizontal : QET::Vertical);
}
/// @return true si les deux points constituant le segment sont egaux
bool ConductorSegment::isPoint() const {
return(point1 == point2);
}