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

24 lines
1.5 KiB
Plaintext

# !!!! This file is generated automatically, do not edit manually! See end script
puts "TODO CR23096 ALL: CHECKSHAPE : Faulty"
puts "TODO CR23096 ALL: NBSHAPES : Faulty"
puts "TODO CR23096 ALL: TOLERANCE : Faulty"
set filename trj7_pm5-ug-214.stp
set ref_data {
DATA : Faulties = 0 ( 0 ) Warnings = 0 ( 0 ) Summary = 0 ( 0 )
TPSTAT : Faulties = 0 ( 0 ) Warnings = 9 ( 184 ) Summary = 9 ( 184 )
CHECKSHAPE : Wires = 2 ( 0 ) Faces = 2 ( 0 ) Shells = 0 ( 0 ) Solids = 0 ( 0 )
NBSHAPES : Solid = 1 ( 1 ) Shell = 1 ( 1 ) Face = 236 ( 236 ) Summary = 1654 ( 1655 )
STATSHAPE : Solid = 1 ( 1 ) Shell = 1 ( 1 ) Face = 236 ( 236 ) FreeWire = 0 ( 0 ) FreeEdge = 0 ( 0 ) SharedEdge = 653 ( 653 )
TOLERANCE : MaxTol = 0.9036712736 ( 0.01854047103 ) AvgTol = 0.002851128061 ( 0.0005801792851 )
LABELS : N0Labels = 1 ( 1 ) N1Labels = 34 ( 34 ) N2Labels = 0 ( 0 ) TotalLabels = 35 ( 35 ) NameLabels = 1 ( 1 ) ColorLabels = 35 ( 35 ) LayerLabels = 1 ( 1 )
PROPS : Centroid = 0 ( 0 ) Volume = 0 ( 0 ) Area = 0 ( 0 )
NCOLORS : NColors = 11 ( 11 )
COLORS : Colors = DARKORCHID FIREBRICK3 GRAY40 GRAY77 LIGHTPINK3 LIGHTSEAGREEN OLIVEDRAB OLIVEDRAB4 ROYALBLUE SIENNA3 TAN4 ( DARKORCHID FIREBRICK3 GRAY40 GRAY77 LIGHTPINK3 LIGHTSEAGREEN OLIVEDRAB OLIVEDRAB4 ROYALBLUE SIENNA3 TAN4 )
NLAYERS : NLayers = 1 ( 1 )
LAYERS : Layers = 50 ( 50 )
}