0030829: BRepExtrema_ShapeProximity crashes with shape from STL/WRL
[occt.git] / tests / bugs / modalg_7 / bug29857_1
CommitLineData
1dbdf099 1puts "========"
2puts "OCC29857_1"
3puts "========"
4puts ""
5####################################
6## Extrema between Point and Curve returns three solutions
7## (there should be only two), two of these are actually the same
8####################################
9
10
11restore [locate_data_file bug29857_1.brep] c
12set info [proj c -139.04514104219 128.256108703487 -64.9999999999983]
13
14set pp1 ""
15set pp2 ""
16set pp3 ""
17regexp {ext_1} $info pp1
18regexp {ext_2} $info pp2
19regexp {ext_3} $info pp3
20if { $pp3 != "" } {
21 puts "Error : Projection is not correct"
22}
23if { $pp1 != "" && $pp2 != "" } {
24 puts "OK: Projection is correct"
25} else {
26 puts "Error : Projection is not correct"
27}