Refactored the intersection algorithm for greater readability and easier changing.
Refactored the intersection algorithm for greater readability and easier
changing.

programistagd/2dJSdualcontour,programistagd/2dJSdualcontour