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

23 lines
1.3 KiB
Plaintext

# !!!! This file is generated automatically, do not edit manually! See end script
puts "TODO CR23096 ALL: LABELS : Faulty"
puts "TODO CR23096 ALL: LAYERS : Faulty"
set filename trj8_k1-pe-214.stp
set ref_data {
DATA : Faulties = 0 ( 0 ) Warnings = 0 ( 0 ) Summary = 0 ( 0 )
TPSTAT : Faulties = 0 ( 0 ) Warnings = 0 ( 0 ) Summary = 0 ( 0 )
CHECKSHAPE : Wires = 0 ( 0 ) Faces = 0 ( 0 ) Shells = 0 ( 0 ) Solids = 0 ( 0 )
NBSHAPES : Solid = 1 ( 1 ) Shell = 1 ( 1 ) Face = 52 ( 52 ) Summary = 369 ( 361 )
STATSHAPE : Solid = 1 ( 1 ) Shell = 1 ( 1 ) Face = 52 ( 52 ) FreeWire = 0 ( 0 ) FreeEdge = 7 ( 7 ) SharedEdge = 145 ( 145 )
TOLERANCE : MaxTol = 0.002782235243 ( 0.008046428382 ) AvgTol = 0.0002755630596 ( 0.0008383168463 )
LABELS : N0Labels = 3 ( 3 ) N1Labels = 7 ( 9 ) N2Labels = 0 ( 0 ) TotalLabels = 10 ( 12 ) NameLabels = 5 ( 5 ) ColorLabels = 5 ( 5 ) LayerLabels = 5 ( 7 )
PROPS : Centroid = 1 ( 1 ) Volume = 1 ( 1 ) Area = 1 ( 1 )
NCOLORS : NColors = 1 ( 1 )
COLORS : Colors = YELLOW ( YELLOW )
NLAYERS : NLayers = 1 ( 2 )
LAYERS : Layers = 02___PRT_ALL_AXES ( 02___PRT_ALL_AXES 04___PRT_ALL_DTM_PNT )
}