arte/types/domainxy.py
def contains(self, x, y):
        '''Returns True if the coordinates are inside the domain'''

        assert_unit_is_equivalent(x, ref=self._xcoord)
        assert_unit_is_equivalent(y, ref=self._ycoord)

        return (x >= self._xcoord.min()) and (x <= self._xcoord.max()) and \
               (y >= self._ycoord.min()) and (y <= self._ycoord.max())
Returns True if the coordinates are inside the domain
Returns True if the coordinates are inside the domain
Returns True if the coordinates are inside the domain
def contains(self, x, y):
        assert_unit_is_equivalent(x, ref=self._xcoord)
        assert_unit_is_equivalent(y, ref=self._ycoord)
        return (x >= self._xcoord.min()) and (x <= self._xcoord.max()) and \
               (y >= self._ycoord.min()) and (y <= self._ycoord.max())
def contains ( self , x , y ) : assert_unit_is_equivalent ( x , ref = self . _xcoord ) assert_unit_is_equivalent ( y , ref = self . _ycoord ) return ( x >= self . _xcoord . min ( ) ) and ( x <= self . _xcoord . max ( ) ) and ( y >= self . _ycoord . min ( ) ) and ( y <= self . _ycoord . max ( ) )
Returns True if the coordinates are inside the domain
Returns True if the coordinates are inside the domain
'''Returns True if the coordinates are inside the domain'''
self
x
y