... shown below). Using an implicit curve representation (e.g. level-set function), the boundary and the segments can be defined as follows: \[\begin \Gamma &:= \partial \Gamma \Big\ \\inside(\Gamma) &:= ...	