CHAPTER 7 A Verified Polygon-Processing Library for Safety-Critical Embedded Systems