1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +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.4 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"
puts "TODO CR23096 ALL: LABELS : Faulty"
set filename trj12_ttscale-ct-214.stp
set ref_data {
DATA : Faulties = 0 ( 0 ) Warnings = 0 ( 0 ) Summary = 0 ( 0 )
TPSTAT : Faulties = 0 ( 0 ) Warnings = 438 ( 219 ) Summary = 438 ( 219 )
CHECKSHAPE : Wires = 0 ( 0 ) Faces = 0 ( 0 ) Shells = 0 ( 0 ) Solids = 0 ( 0 )
NBSHAPES : Solid = 3 ( 3 ) Shell = 312 ( 303 ) Face = 1000 ( 1000 ) Summary = 9962 ( 9702 )
STATSHAPE : Solid = 4 ( 4 ) Shell = 313 ( 304 ) Face = 1231 ( 1231 ) FreeWire = 0 ( 3 ) FreeEdge = 251 ( 251 ) SharedEdge = 3918 ( 3918 )
TOLERANCE : MaxTol = 0.01535715949 ( 0.01648925136 ) AvgTol = 0.0007749108723 ( 0.001520406253 )
LABELS : N0Labels = 5 ( 5 ) N1Labels = 2126 ( 2252 ) N2Labels = 0 ( 0 ) TotalLabels = 2131 ( 2257 ) NameLabels = 10 ( 10 ) ColorLabels = 2113 ( 2113 ) LayerLabels = 498 ( 624 )
PROPS : Centroid = 0 ( 0 ) Volume = 0 ( 0 ) Area = 0 ( 0 )
NCOLORS : NColors = 6 ( 6 )
COLORS : Colors = BLUE1 GREEN GREEN4 TURQUOISE3 WHITE YELLOW ( BLUE1 GREEN GREEN4 TURQUOISE3 WHITE YELLOW )
NLAYERS : NLayers = 6 ( 6 )
LAYERS : Layers = 0 1 10 2 3 7 ( 0 1 10 2 3 7 )
}