0022598: Approximation of p-curve by 2D line
authoraml <aml@opencascade.com>
Thu, 5 Feb 2015 14:57:20 +0000 (17:57 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 5 Feb 2015 15:02:16 +0000 (18:02 +0300)
commit15b54261a3b0ccfc8475c16b48037c7213df25d8
tree4c4cb1ede95b0e3bed66a9c536ecc627dfc7af5f
parent9ccea0c628dbff057bb77c2a10a740bd790c31c2
0022598: Approximation of p-curve by 2D line

Check whether p-curve being projected can be approximated by straight line is made before full-scale projection, to improve performance.
If straight, pcurve is created as Line only if this will lead to the same range parameterization as 3d curve, otherwise BSpline of degree 1 is created.
Re-approximation of line pcurves by bsplines removed from ShapeFix_Edge.

Test case updating to new behavior.

Added "static" keyword to the  fixPeriodictyTroubles() function.

Update of test-cases according new behavior
275 files changed:
src/ShapeAnalysis/ShapeAnalysis_Surface.cxx
src/ShapeConstruct/ShapeConstruct_ProjectCurveOnSurface.cdl
src/ShapeConstruct/ShapeConstruct_ProjectCurveOnSurface.cxx
src/ShapeFix/ShapeFix_Edge.cxx
tests/bugs/heal/bug210
tests/bugs/modalg_2/bug22631
tests/bugs/step/bug55
tests/de/iges_1/B4
tests/de/iges_1/D7
tests/de/iges_1/J6
tests/de/iges_1/L1
tests/de/iges_1/L4
tests/de/iges_1/L5
tests/de/iges_1/L9
tests/de/iges_1/N9
tests/de/iges_1/O2
tests/de/iges_1/O3
tests/de/iges_1/P4
tests/de/iges_1/P5
tests/de/iges_1/P9
tests/de/iges_1/Q3
tests/de/iges_1/R3
tests/de/iges_1/R8
tests/de/iges_2/A4
tests/de/iges_2/A7
tests/de/iges_2/A9
tests/de/iges_2/B1
tests/de/iges_2/C2
tests/de/iges_2/C4
tests/de/iges_2/C6
tests/de/iges_2/E1
tests/de/iges_2/F9
tests/de/iges_2/G1
tests/de/iges_2/G8
tests/de/iges_2/H9
tests/de/iges_2/I7
tests/de/iges_3/A4
tests/de/iges_3/A6
tests/de/iges_3/A9
tests/de/step_1/A3
tests/de/step_1/A7
tests/de/step_1/B4
tests/de/step_1/B7
tests/de/step_1/C2
tests/de/step_1/C3
tests/de/step_1/C7
tests/de/step_1/E3
tests/de/step_1/E5
tests/de/step_1/E7
tests/de/step_1/G1
tests/de/step_1/G4
tests/de/step_1/I2
tests/de/step_1/I5
tests/de/step_1/I7
tests/de/step_1/J5
tests/de/step_1/J6
tests/de/step_1/J8
tests/de/step_1/K9
tests/de/step_1/L1
tests/de/step_1/L2
tests/de/step_1/L3
tests/de/step_1/L4
tests/de/step_1/L5
tests/de/step_1/L9
tests/de/step_1/M1
tests/de/step_1/M2
tests/de/step_1/N3
tests/de/step_1/N4
tests/de/step_1/N5
tests/de/step_1/N6
tests/de/step_1/N7
tests/de/step_1/N8
tests/de/step_1/O4
tests/de/step_1/Q4
tests/de/step_1/Q5
tests/de/step_1/Q6
tests/de/step_1/Q7
tests/de/step_1/Q8
tests/de/step_1/R3
tests/de/step_1/R7
tests/de/step_1/U8
tests/de/step_1/U9
tests/de/step_1/V7
tests/de/step_1/V9
tests/de/step_1/X1
tests/de/step_1/X2
tests/de/step_1/Y6
tests/de/step_1/Y7
tests/de/step_1/Z1
tests/de/step_1/Z6
tests/de/step_1/Z7
tests/de/step_1/ZA3
tests/de/step_1/ZA6
tests/de/step_1/ZA9
tests/de/step_1/ZB1
tests/de/step_1/ZB2
tests/de/step_1/ZB3
tests/de/step_1/ZB4
tests/de/step_1/ZB5
tests/de/step_1/ZB7
tests/de/step_1/ZC3
tests/de/step_1/ZC4
tests/de/step_1/ZI7
tests/de/step_1/ZJ9
tests/de/step_1/ZK5
tests/de/step_1/ZK7
tests/de/step_1/ZM3
tests/de/step_1/ZM8
tests/de/step_1/ZY5
tests/de/step_2/A6
tests/de/step_2/A9
tests/de/step_2/B1
tests/de/step_2/B2
tests/de/step_2/B3
tests/de/step_2/B4
tests/de/step_2/B6
tests/de/step_2/B7
tests/de/step_2/B8
tests/de/step_2/B9
tests/de/step_2/C6
tests/de/step_2/C9
tests/de/step_2/D2
tests/de/step_2/D4
tests/de/step_2/D6
tests/de/step_2/D7
tests/de/step_2/D8
tests/de/step_2/E1
tests/de/step_2/E3
tests/de/step_2/E5
tests/de/step_2/E7
tests/de/step_2/F5
tests/de/step_2/F8
tests/de/step_2/F9
tests/de/step_2/G1
tests/de/step_2/G9
tests/de/step_2/H1
tests/de/step_2/H6
tests/de/step_2/H8
tests/de/step_2/I4
tests/de/step_2/I5
tests/de/step_2/I6
tests/de/step_2/I7
tests/de/step_2/I8
tests/de/step_2/J7
tests/de/step_2/K1
tests/de/step_2/K3
tests/de/step_2/K6
tests/de/step_2/K7
tests/de/step_2/K8
tests/de/step_2/M2
tests/de/step_2/M4
tests/de/step_2/M6
tests/de/step_2/M7
tests/de/step_2/M8
tests/de/step_2/N1
tests/de/step_2/N7
tests/de/step_2/N8
tests/de/step_2/N9
tests/de/step_2/O1
tests/de/step_2/O2
tests/de/step_2/O3
tests/de/step_2/O4
tests/de/step_2/O7
tests/de/step_2/O8
tests/de/step_2/O9
tests/de/step_2/P2
tests/de/step_2/P3
tests/de/step_2/P5
tests/de/step_2/P6
tests/de/step_2/P7
tests/de/step_2/Q1
tests/de/step_2/Q8
tests/de/step_2/Q9
tests/de/step_2/R2
tests/de/step_2/R3
tests/de/step_2/R7
tests/de/step_2/S1
tests/de/step_2/S2
tests/de/step_2/S3
tests/de/step_2/S4
tests/de/step_2/S6
tests/de/step_2/S7
tests/de/step_2/S9
tests/de/step_2/T1
tests/de/step_2/T2
tests/de/step_2/T3
tests/de/step_2/T9
tests/de/step_2/U1
tests/de/step_2/U2
tests/de/step_2/U3
tests/de/step_2/U4
tests/de/step_2/U7
tests/de/step_2/U8
tests/de/step_2/V1
tests/de/step_2/V6
tests/de/step_2/V8
tests/de/step_2/W6
tests/de/step_2/W7
tests/de/step_2/W8
tests/de/step_2/X2
tests/de/step_2/X9
tests/de/step_2/Y1
tests/de/step_2/Y2
tests/de/step_2/Y4
tests/de/step_2/Y5
tests/de/step_3/A8
tests/de/step_3/A9
tests/de/step_3/B2
tests/de/step_3/B3
tests/de/step_3/B4
tests/de/step_3/B5
tests/de/step_3/B6
tests/de/step_3/B8
tests/de/step_3/B9
tests/de/step_3/C4
tests/de/step_3/C5
tests/de/step_3/C6
tests/de/step_3/C8
tests/de/step_3/C9
tests/de/step_3/D1
tests/de/step_3/D7
tests/de/step_3/D9
tests/de/step_3/E1
tests/de/step_3/E2
tests/de/step_3/E3
tests/de/step_3/E4
tests/de/step_3/E6
tests/de/step_3/E8
tests/de/step_3/E9
tests/de/step_3/F2
tests/de/step_3/F3
tests/de/step_3/F4
tests/de/step_4/A1
tests/de/step_4/A2
tests/de/step_4/A4
tests/de/step_4/A5
tests/de/step_4/A8
tests/de/step_4/B3
tests/de/step_4/B8
tests/de/step_4/B9
tests/de/step_4/C1
tests/de/step_4/C9
tests/de/step_4/D1
tests/de/step_4/D2
tests/de/step_4/D4
tests/de/step_4/D7
tests/de/step_4/D9
tests/de/step_4/E1
tests/de/step_4/E2
tests/de/step_4/E3
tests/de/step_4/E6
tests/de/step_4/E8
tests/de/step_4/E9
tests/de/step_4/F1
tests/de/step_4/G3
tests/de/step_4/G4
tests/de/step_4/G5
tests/de/step_4/G7
tests/de/step_4/G8
tests/de/step_4/H1
tests/de/step_4/H3
tests/de/step_4/H4
tests/de/step_4/H5
tests/de/step_4/H7
tests/de/step_4/H8
tests/de/step_4/I1
tests/de/step_4/I2
tests/de/step_5/A1
tests/de/step_5/A2
tests/de/step_5/A3
tests/de/step_5/A4
tests/de/step_5/A5
tests/de/step_5/A7
tests/de/step_5/B2
tests/xcaf/brep_to_stp_add_CL/I6