For example, I want to plot the function
f(x,y) =sin(x^2+y^2)/(x^2+y^2), x^2+y^2 <=4π
In Mathematica, I can do it as following:
Plot3D[Sin[x^2 + y^2]/(x^2 + y^2), {x, -4, 4}, {y, -4, 4},
RegionFunction -> (#1^2 + #2^2 <= 4 Pi &)]
Where the RegionFunction specified the region of x,y to plot.

Here’s a not particularly elegant solution that sets the function values of the region you don’t want to see to -infinity.
Edit. Actually, if you try a finer grid (say -4:0.01:4) and add
shading interpit doesn’t look too bad.