mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-10 17:40:24 +08:00
Refactor GeomBndLib classes for old version of bounding box calculations Can be fixed later. - Added new test case for BSplineCurve trimmed range comparison with BndLib. - Enhanced GeomBndLib_BSplineCurve to handle parameter adjustments for periodic curves. - Updated GeomBndLib_BSplineCurve2d to improve bounding box calculations. - Refined GeomBndLib_BSplineSurface to use grid sampling for bounding box determination. - Optimized GeomBndLib_BezierCurve and GeomBndLib_BezierCurve2d for bounding box calculations. - Simplified GeomBndLib_SurfaceOfExtrusion and GeomBndLib_SurfaceOfRevolution by leveraging GeomBndLib_OtherSurface for bounding box computations. - Improved GeomBndLib_Torus to utilize BndLib for bounding box calculations, including handling degenerate cases.
14 lines
229 B
Plaintext
14 lines
229 B
Plaintext
puts "========"
|
|
puts "OCC23612"
|
|
puts "========"
|
|
puts ""
|
|
#######################
|
|
# BRepPrimAPI_MakeTorus
|
|
#######################
|
|
|
|
ptorus p 10 2 90 270 45
|
|
|
|
checkshape p
|
|
|
|
checkview -display p -2d -path ${imagedir}/${test_image}.png
|