1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
aml 15b54261a3 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
2015-02-05 18:02:16 +03:00

26 lines
801 B
Plaintext

puts "TODO OCC23213 ALL: Error : The number of faces is wrong"
puts "TODO OCC23213 ALL: Error : Compared documents have different LAYERS for the shape located on 0:1:1:4 label"
puts "TODO OCC23213 ALL: Error : Compared documents have different LAYERS for the shape located on 0:1:1:7 label"
puts "TODO OCC23213 ALL: Error : Compared documents have different LAYERS for the shape located on 0:1:1:15 label"
puts "TODO OCC23213 ALL: Error : Compared documents have different LAYERS for the shape located on 0:1:1:18 label"
puts "TODO OCC23213 ALL: Error : errors occur during test"
restore [locate_data_file xx.brep] Shape1
XNewDoc D_First
XAddShape D_First Shape1
set TypeOfFile "stp"
set AddToDocument "COLORS_LAYERS"
set CompareDocumentsMode "FACES VOLUME COLORS_EXACTLY LAYERS_EXACTLY"