1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-06-05 11:24:17 +03:00
occt/tests/bugs/modalg_6/bug25908
azv 5520ae9665 Extract of fixes from 0024682: Move out B-spline cache from curves and surfaces to dedicated classes BSplCLib_Cache and BSplSLib_Cache
4. Precised calculation of derivatives of surface of revolution is implemented for the points of surface placed on the axis of revolution (Geom_SurfaceOfRevolution.cxx)

5. Small modifications are made to adjust algorithms to new behavior of B-spline calculation.

6. Test cases were modified according to the modern behavior.

7. Changes in BRepLib_CheckCurveOnSurface to use adaptors instead of geometric entities

9. Added methods to access directly poles, knots, multiplicities of BSpline curves and surfaces
2015-08-23 23:21:30 +03:00

37 lines
677 B
Plaintext
Executable File

puts "============"
puts "OCC25908"
puts "============"
puts ""
###############################
## BSpline (U2 < U1) in HLRBRep_HLRToShape
###############################
restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] h1
hprj h1_proj 0 0 0 0 1 0 0 0 1
houtl h1_outl h1
hfill h1_outl h1_proj 0
hload h1_outl
hsetprj h1_proj
hupdate
hhide
hres2d
compound vl v1l vnl vol vil result
set nbshapes_expected "
Number of shapes in shape
VERTEX : 165
EDGE : 83
WIRE : 0
FACE : 0
SHELL : 0
SOLID : 0
COMPSOLID : 0
COMPOUND : 1
SHAPE : 249
"
checknbshapes result -ref ${nbshapes_expected} -t -m "HLRToShape"
set 2dviewer 1