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

21 lines
1.2 KiB
Plaintext

# !!!! This file is generated automatically, do not edit manually! See end script
set filename trj8_b1-tc-214.stp
set ref_data {
DATA : Faulties = 0 ( 0 ) Warnings = 0 ( 0 ) Summary = 0 ( 0 )
TPSTAT : Faulties = 0 ( 0 ) Warnings = 0 ( 1 ) Summary = 0 ( 1 )
CHECKSHAPE : Wires = 0 ( 0 ) Faces = 0 ( 0 ) Shells = 0 ( 0 ) Solids = 0 ( 0 )
NBSHAPES : Solid = 1 ( 1 ) Shell = 1 ( 1 ) Face = 339 ( 339 ) Summary = 1941 ( 1941 )
STATSHAPE : Solid = 1 ( 1 ) Shell = 1 ( 1 ) Face = 339 ( 339 ) FreeWire = 0 ( 0 ) FreeEdge = 0 ( 0 ) SharedEdge = 810 ( 810 )
TOLERANCE : MaxTol = 0.03775853832 ( 0.05770441607 ) AvgTol = 0.009180726225 ( 0.01351048369 )
LABELS : N0Labels = 1 ( 1 ) N1Labels = 22 ( 22 ) N2Labels = 0 ( 0 ) TotalLabels = 23 ( 23 ) NameLabels = 1 ( 1 ) ColorLabels = 23 ( 23 ) LayerLabels = 1 ( 1 )
PROPS : Centroid = 1 ( 1 ) Volume = 1 ( 1 ) Area = 1 ( 1 )
NCOLORS : NColors = 2 ( 2 )
COLORS : Colors = GRAY75 LIGHTSTEELBLUE2 ( GRAY75 LIGHTSTEELBLUE2 )
NLAYERS : NLayers = 1 ( 1 )
LAYERS : Layers = 030 ( 030 )
}