0025259: Incorrect split on toroidal surface in LocOpe
authorpdn <pdn@opencascade.com>
Fri, 26 Sep 2014 12:36:04 +0000 (16:36 +0400)
committerbugmaster <bugmaster@opencascade.com>
Fri, 26 Sep 2014 12:36:43 +0000 (16:36 +0400)
commitc1e18dd8435d137aee481c5d2863f96257d85c63
tree064d7e5e0be58b1bbe3c98c1b71105ea5086fee4
parentceb418e13f0e2e8aa7fa8e86346e6904cd7465f8
0025259: Incorrect split on toroidal surface in LocOpe

Current implementation can fail in case if several alternative directions in wire creation are possible.
The proposed fix provides:
* define the most left direction in UV
* usage of indexed map to provide deterministic behavior

Error message is put into exception raised in case if split is not possible
src/LocOpe/LocOpe_SplitShape.cxx
src/LocOpe/LocOpe_WiresOnShape.cxx