question: @ Override public boolean contains ( Point2D . Double p ) { Rectangle2D . Double r = ( Rectangle2D . Double ) rectangle . clone ( ) ; double grow = AttributeKeys . getPerpendicularHitGrowth ( this ) + 1d ; Geom . grow ( r , grow , grow ) ; return r . contains ( p ) ; }
target:  Checks if a Point2D.Double is inside the figure.