Skip to main content
3 of 3
edited tags
user21
  • 40.7k
  • 8
  • 114
  • 170

How to find the direction of the outward normal in a point of the boundary of a 2D region?

Suppose we have a domain $\Omega$ such that RegionQ[\[Omega]] is True and RegionDimension[[\Omega]] == RegionEmbeddingDimension[\[Omega]] == 2 is True.

We also have a point $P$ such that RegionMember[RegionBoundary[\[Omega]], P] is True.

There is a way to find the direction of the outward normal to $\Omega$ in $P$?

I know how to mathematically obtain the outward normal if the region is described by a parametric boundary for example, but I don't know how to compute the outward normal for a generic Region.

The method should be reasonably efficient because I need to apply to many points lying on the boundary.

unlikely
  • 7.1k
  • 21
  • 54