1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-09 18:50:54 +03:00
ski 58cf74e0c0 0025945: Make stable checking of shape global properties in tests
- Added function checkprops, set default tolerance parameter to 1.0e-4
- Using "area" instead of "square".
- Options "-equal\notequal" isn't used together with "-s" in blend and offset test cases.
- Correct regressions/differences/improvements and CPU problem (set props tolerance to 0.1)
- Corrected test cases to use checkprops proc.
- Correct image difference
- Updated TODOs in test cases.
- Updated test cases to get correct images of result shape
2015-12-10 16:56:03 +03:00

32 lines
437 B
Plaintext

## Extension of /users/skv/testref/cd1/ED/cto/009/F1
vertex v1 -1 -1 0
vertex v2 2 -1 0
edge ea v1 v2
prism fa ea 0 3.5 0
prism ba fa 0 0 2
#fit
vertex v3 0 0 0
vertex v4 1 0 0
vertex v5 1 0 2
vertex v6 0 0 2
edge eb v3 v4
edge ec v4 v5
edge ed v5 v6
wire wb eb ec ed
revol bb wb 0 0 0 0 0 1 360
#clear
# added by pkv from
emptycopy s ba
add bb s
bop ba s
#bop ba bb
# added by pkv to
bopcut result
checkprops result -s 53.2832