Hi everyone,

here is the description of the problem.

I have a rectangle with some circular holes in it, the inner part of the domain (denoted with D) is defined by the difference between the rectangle and the disks and the outer part is the union of the disks.

The boundary of the domain is the union of the edges of the rectangle and the circumferences.

I would like to define a boundary-distance function phi(x) that is non-negative if x is in D and negative otherwise.

I have already used the general extrusion operator to define a distance function on D and a negative distance function on the complement of D. Is there a way to "paste" the two functions?

More Filippo Marini's questions See All
Similar questions and discussions