Finished porting ThreeCSG.Polygon