mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-12 19:26:36 +08:00
class BndLib
- method:
void BndLib::Add(const gp_Hypr& H,
const Standard_Real P1,
const Standard_Real P2,
const Standard_Real Tol,
Bnd_Box& B)
- static function:
Standard_Integer ComputeBox(const gp_Hypr& aHypr,
const Standard_Real aT1,
const Standard_Real aT2,
Bnd_Box& aBox)
The function computes bounding box for bounded hyperbola
Test case for issue CR24654
20 lines
501 B
Plaintext
Executable File
20 lines
501 B
Plaintext
Executable File
puts "============"
|
|
puts "OCC24654"
|
|
puts "============"
|
|
puts ""
|
|
######################################################
|
|
# Result of Boolean operation is invalid for bopargcheck if rotated
|
|
######################################################
|
|
|
|
restore [locate_data_file bug24654_qf.brep] result
|
|
|
|
set info [bopargcheck result]
|
|
|
|
if { [regexp "Faulties, that can not be treated by BOP, are detected" ${info}] == 1 } {
|
|
puts "Error : Wrong result"
|
|
} else {
|
|
puts "OK : Good result"
|
|
}
|
|
|
|
set 3dviewer 1
|