0025861: Wrong result obtained by projection algorithm.
[occt.git] / tests / bugs / moddata_3 / bug23994
CommitLineData
afed7fd7 1puts "================"
2puts "OCC23994"
3puts "================"
4puts ""
5#######################################################################
6# GeomAPI_ExtremaCurveCurve class calculates wrong values
7#######################################################################
8
9set BugNumber CR23994
10
11pload XDE
12
13ReadStep D [locate_data_file bug23994_AirfoilRhomb_CalcDist_17_OP_Bell_Mouth_Roughing_shroud.stp]
14
15XCheckProps D
16
17XGetShape airflIntersctCrv D 0:1:1:1
18XGetShape rhombIntersctCrv D 0:1:1:2
19
20explode rhombIntersctCrv
21mkcurve rhomb rhombIntersctCrv_1
22
23explode airflIntersctCrv
24mkcurve airfl airflIntersctCrv_1
25
26extrema airfl rhomb
27
28if { [isdraw ext_1] } {
29 mkedge result ext_1
afed7fd7 30 set length 5.14563
31} else {
32 puts "${BugNumber}: invalid result"
33}
34
35set 2dviewer 1