StopperItem fertig, wird aber noch nicht in berechnung einbezogen
git-svn-id: http://svn.lsim.tuxzone.org/trunk@20 4bec179b-ab65-46ed-a5f8-55b8b5c735d0
This commit is contained in:
@@ -136,3 +136,14 @@ void HomoEFieldItem::setOuterPenWidth ( double theValue ) {
|
||||
if (outerPenWidth == theValue) return;
|
||||
outerPenWidth = theValue;
|
||||
}
|
||||
|
||||
bool HomoEFieldItem::contains(const QPointF point) {
|
||||
mapFromScene (point);
|
||||
return (
|
||||
(point.x() <= boundingRect().width()) &&
|
||||
(point.y() <= boundingRect().height()) &&
|
||||
(point.y() >=0) &&
|
||||
(point.x() >=0)
|
||||
);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user