1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +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

23 lines
1.6 KiB
Plaintext

# !!!! This file is generated automatically, do not edit manually! See end script
puts "TODO CR23096 ALL: TPSTAT : Faulty"
puts "TODO CR23096 ALL: STATSHAPE : Faulty"
set filename tr9_r0601-td.stp
set ref_data {
DATA : Faulties = 0 ( 0 ) Warnings = 0 ( 0 ) Summary = 0 ( 0 )
TPSTAT : Faulties = 0 ( 0 ) Warnings = 228 ( 1 ) Summary = 228 ( 1 )
CHECKSHAPE : Wires = 0 ( 0 ) Faces = 0 ( 0 ) Shells = 0 ( 0 ) Solids = 0 ( 0 )
NBSHAPES : Solid = 0 ( 0 ) Shell = 4242 ( 61 ) Face = 4242 ( 4242 ) Summary = 46642 ( 42462 )
STATSHAPE : Solid = 0 ( 0 ) Shell = 4242 ( 61 ) Face = 4242 ( 4242 ) FreeWire = 0 ( 0 ) FreeEdge = 0 ( 0 ) SharedEdge = 17100 ( 17100 )
TOLERANCE : MaxTol = 0.0003292944598 ( 0.0009787303794 ) AvgTol = 3.190255905e-007 ( 8.698017989e-007 )
LABELS : N0Labels = 1 ( 1 ) N1Labels = 4242 ( 4242 ) N2Labels = 0 ( 0 ) TotalLabels = 4243 ( 4243 ) NameLabels = 1 ( 1 ) ColorLabels = 4242 ( 4242 ) LayerLabels = 4242 ( 4242 )
PROPS : Centroid = 0 ( 0 ) Volume = 0 ( 0 ) Area = 0 ( 0 )
NCOLORS : NColors = 2 ( 2 )
COLORS : Colors = RED WHITE ( RED WHITE )
NLAYERS : NLayers = 39 ( 39 )
LAYERS : Layers = 001 002 003 004 005 008 009 010 011 012 015 016 017 018 029 030 031 032 033 034 035 036 037 096 097 099 100 101 138 139 175 176 177 178 181 182 183 245 246 ( 001 002 003 004 005 008 009 010 011 012 015 016 017 018 029 030 031 032 033 034 035 036 037 096 097 099 100 101 138 139 175 176 177 178 181 182 183 245 246 )
}