File: buc60609

package info (click to toggle)
opencascade 7.5.1%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 290,544 kB
  • sloc: cpp: 1,190,524; tcl: 15,703; cs: 5,173; java: 1,557; ansic: 1,174; sh: 901; xml: 699; perl: 54; makefile: 27
file content (21 lines) | stat: -rw-r--r-- 531 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
puts "================"
puts "BUC60609"
puts "================"

restore [locate_data_file buc60609a.brep] a

# two points will be classified
point p1 0.14 5.1
point p2 1.28 5.1

if {![regexp "IN" [b2dclassify a p1]]} {
  puts "Faulty BUC60609 first: $first is not right result. It should be INSIDE"
} else {
  puts "BUC60609 first OK:  It is INSIDE"
}

if {![regexp "IN" [b2dclassify a p2]]} {
  puts "Faulty BUC60609 second: $second is not right result. It should be INSIDE"
} else {
  puts "BUC60609 second OK:  It is INSIDE"
}