question: @ Override public boolean isInRange ( Rectangle rect1 ) { for ( Point p : getLinePoints ( ) ) { Point realPoint = new Point ( p . getX ( ) + getRectangle ( ) . x , p . getY ( ) + getRectangle ( ) . y ) ; if ( ! rect1 . contains ( realPoint ) ) { return false ; } } return true ; }
target:  A relation is only in range (= in the selection frame) if every relation point is in the selection frame