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

19 lines
1.1 KiB
Plaintext

# !!!! This file is generated automatically, do not edit manually! See end script
set filename tr10_r1301_ms.stp
set ref_data {
DATA : Faulties = 0 ( 0 ) Warnings = 0 ( 0 ) Summary = 0 ( 0 )
TPSTAT : Faulties = 0 ( 0 ) Warnings = 1 ( 41 ) Summary = 1 ( 41 )
CHECKSHAPE : Wires = 0 ( 0 ) Faces = 0 ( 0 ) Shells = 0 ( 0 ) Solids = 0 ( 0 )
NBSHAPES : Solid = 4 ( 4 ) Shell = 4 ( 4 ) Face = 183 ( 183 ) Summary = 1130 ( 1129 )
STATSHAPE : Solid = 4 ( 4 ) Shell = 4 ( 4 ) Face = 183 ( 183 ) FreeWire = 0 ( 0 ) FreeEdge = 0 ( 0 ) SharedEdge = 452 ( 451 )
TOLERANCE : MaxTol = 0.005574366633 ( 0.008564797627 ) AvgTol = 0.001164173051 ( 0.00186707582 )
LABELS : N0Labels = 2 ( 2 ) N1Labels = 3 ( 3 ) N2Labels = 0 ( 0 ) TotalLabels = 5 ( 5 ) NameLabels = 2 ( 2 ) ColorLabels = 4 ( 4 ) LayerLabels = 4 ( 4 )
PROPS : Centroid = 0 ( 0 ) Volume = 0 ( 0 ) Area = 0 ( 0 )
NCOLORS : NColors = 2 ( 2 )
COLORS : Colors = MAGENTA1 RED ( MAGENTA1 RED )
NLAYERS : NLayers = 2 ( 2 )
LAYERS : Layers = 3 4 ( 3 4 )
}