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

19 lines
1.1 KiB
Plaintext
Executable File

# !!!! This file is generated automatically, do not edit manually! See end script
set filename trj5_pm3-ug-203.stp
set ref_data {
DATA : Faulties = 0 ( 0 ) Warnings = 0 ( 0 ) Summary = 0 ( 0 )
TPSTAT : Faulties = 0 ( 0 ) Warnings = 8 ( 82 ) Summary = 8 ( 82 )
CHECKSHAPE : Wires = 0 ( 0 ) Faces = 0 ( 0 ) Shells = 0 ( 0 ) Solids = 0 ( 0 )
NBSHAPES : Solid = 18 ( 18 ) Shell = 18 ( 18 ) Face = 376 ( 376 ) Summary = 2466 ( 2466 )
STATSHAPE : Solid = 18 ( 18 ) Shell = 18 ( 18 ) Face = 376 ( 376 ) FreeWire = 0 ( 0 ) FreeEdge = 0 ( 0 ) SharedEdge = 955 ( 955 )
TOLERANCE : MaxTol = 0.005929066011 ( 0.01678547427 ) AvgTol = 9.716431133e-005 ( 0.0001556346626 )
LABELS : N0Labels = 20 ( 20 ) N1Labels = 19 ( 19 ) N2Labels = 0 ( 0 ) TotalLabels = 39 ( 39 ) NameLabels = 39 ( 39 ) ColorLabels = 0 ( 0 ) LayerLabels = 0 ( 0 )
PROPS : Centroid = 20 ( 20 ) Volume = 20 ( 20 ) Area = 20 ( 20 )
NCOLORS : NColors = 0 ( 0 )
COLORS : Colors = ( )
NLAYERS : NLayers = 0 ( 0 )
LAYERS : Layers = ( )
}