Determining the proper orientation of the boundary given the orientation of the surface
License: CC BY-NC-SA by Khan Academy