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.2 KiB
Plaintext

# !!!! This file is generated automatically, do not edit manually! See end script
puts "TODO CR23096 ALL: TOLERANCE : Faulty"
puts "TODO CR23096 ALL: LABELS : Faulty"
set filename PRO10578.igs
set ref_data {
DATA : Faulties = 0 ( 0 ) Warnings = 0 ( 0 ) Summary = 0 ( 0 )
TPSTAT : Faulties = 0 ( 0 ) Warnings = 146 ( 887 ) Summary = 146 ( 887 )
CHECKSHAPE : Wires = 0 ( 0 ) Faces = 0 ( 0 ) Shells = 0 ( 0 ) Solids = 0 ( 0 )
NBSHAPES : Solid = 0 ( 0 ) Shell = 0 ( 0 ) Face = 221 ( 221 ) Summary = 13351 ( 13351 )
STATSHAPE : Solid = 0 ( 0 ) Shell = 0 ( 0 ) Face = 221 ( 221 ) FreeWire = 0 ( 0 ) FreeEdge = 6 ( 6 ) SharedEdge = 6452 ( 6452 )
TOLERANCE : MaxTol = 0.01225213609 ( 0.01098786532 ) AvgTol = 0.0001816430452 ( 0.0001806163302 )
LABELS : N0Labels = 232 ( 232 ) N1Labels = 0 ( 6521 ) N2Labels = 0 ( 0 ) TotalLabels = 232 ( 6753 ) NameLabels = 232 ( 347 ) ColorLabels = 227 ( 6753 ) LayerLabels = 227 ( 6753 )
PROPS : Centroid = 0 ( 0 ) Volume = 0 ( 0 ) Area = 0 ( 0 )
NCOLORS : NColors = 1 ( 1 )
COLORS : Colors = RED ( RED )
NLAYERS : NLayers = 1 ( 1 )
LAYERS : Layers = 1 ( 1 )
}