Fix issue of raise exception when sweep along with cornered line.
Fix issue of raise exception when sweep along with cornered line.

BenoitPerrot/oce,BenoitPerrot/oce,tpaviot/oce,BenoitPerrot/oce,tpaviot/oce,BenoitPerrot/oce,tpaviot/oce,tpaviot/oce,BenoitPerrot/oce,tpaviot/oce