File: end

package info (click to toggle)
opencascade 7.6.3%2Bdfsg1-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 289,852 kB
  • sloc: cpp: 1,229,388; tcl: 15,963; cs: 5,173; java: 1,557; sh: 1,211; ansic: 821; xml: 737; makefile: 28; javascript: 22
file content (20 lines) | stat: -rw-r--r-- 401 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Compute offset.
offsetshapesimple result s $OffsetValue $SingularTol

# 1% relative tolerance
set TolRel 1.0e-2

# Check result validity.
checkshape result

# Check result area.
checkprops result -s $ExpectedMass -eps $TolRel

# Check maximal tolerance
checkmaxtol result -ref $ExpectedMaxTol

# Make screenshot.
smallview
don result
fit
checkview -screenshot -2d -path ${imagedir}/${test_image}.png