Context
This is fairly general and simple question, (probably because it has a simple solution?). I want to define a mesh (e.g. to be used with Plot3D
or FEM or whatever) as the cross section of a surface and a volume. For instance
a ball and a plane.
Question
How can I define a mesh on a 2D intersection of two 3D objects?
or its simpler version
How can I define a mesh on a 2D plane intersection through a 3D object?
Attempt
R=RegionIntersection[Ball[],InfinitePlane[{0,0,0},{{1,0,0},{0,1,0}}];
Plot3D[x^2+y^2,{x, y} \[Element] R]
does not work, neither does
Needs["NDSolve`FEM`"]
ToElementMesh[R]
while
R // Region
is well defined.
I believe this would be super handy to e.g. to investigate volumes?
Thanks for your help!