0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / tests / bugs / moddata_3 / bug27467
CommitLineData
15a954de 1puts "============"
2puts "OCC27467"
3puts "============"
4puts ""
5#########################################################################
6# Modeling Algorithms - class Extrema_ExtCC2d does not find extremum between two intersecting lines
7# Analytical solver can not work on 2 lines.
8#########################################################################
9
10line l1 0 0 0 -1
11trim l1 l1 0 23
12
13line l2 1 -9.5 -1 -0
14trim l2 l2 0 2
15set info [2dextrema l1 l2]
16
17# Number of solutions check.
18# There should be only one solution - intersection point.
19if {[llength $info] != 4} {
20 ERROR: Incorrect number of solutions.
21}
22
23# Check distance.
24regexp "dist 1: +(\[-0-9.+eE\]+)" $info full aDist
25set absTol 1.0e-9
26set relTol 0.001
27set aDist_Exp 0.0
28checkreal "Distance value check" $aDist $aDist_Exp $absTol $relTol