mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0023575: Bounding box for a planar edge has non-zero dimension in direction orthogonal to an edge plane
# Test case bugs/moddata_3/bug23575 creation
This commit is contained in:
parent
9c80aadfd8
commit
4201bf79fb
18
tests/bugs/moddata_3/bug23575
Normal file
18
tests/bugs/moddata_3/bug23575
Normal file
@ -0,0 +1,18 @@
|
||||
puts "========"
|
||||
puts "OCC23575"
|
||||
puts "========"
|
||||
puts ""
|
||||
##################################################################################################
|
||||
# Bounding box for a planar edge has non-zero dimension in direction orthogonal to an edge plane
|
||||
##################################################################################################
|
||||
|
||||
bsplinecurve c 3 2 0 4 1 4 0 0 0 1 0 1 0 1 1 1 0 1 1 0 0 1
|
||||
mkedge e c
|
||||
set boundResult [bounding e]
|
||||
|
||||
checkreal Xmin [lindex $boundResult 0] 0. 0.1 0.
|
||||
checkreal Ymin [lindex $boundResult 1] 0. 0.1 0.
|
||||
checkreal Zmin [lindex $boundResult 2] 0. 0.1 0.
|
||||
checkreal Xmax [lindex $boundResult 3] 1. 0.1 0.
|
||||
checkreal Ymax [lindex $boundResult 4] 1. 0.1 0.
|
||||
checkreal Zmax [lindex $boundResult 5] 0. 0.1 0.
|
Loading…
x
Reference in New Issue
Block a user