Action:
|
Test whether the recorded tolerance of this
TEDGE is correct.
|
|
Filename:
|
intr/intr_scm/tmchk_scm.cxx
|
|
Syntax:
|
(tm-check:tedge-tol edge)
|
|
Arg Types:
|
tedge
|
tedge
|
|
Returns:
|
(tm-chk-info ...)
|
|
Errors:
|
Argument not an
TEDGE.
|
|
Description:
|
Tests whether the recorded tolerance of this tedge is correct. As this test uses the edge tolerance, the checks
tm-check:tedge and then
tm-check:tcoedge and
tm-check:tedge-tcoedge (for each coedge of the edge) should already have been passed. This test then performs in order:
tm-check:tedge-tcoedge-bad-tol for each coedge of the edge. A list of any
tm-chk-info error objects that are generated is returned (or an empty list if all is fine).
|
|
|
tedge is an argument of type
tedge for which the correctness of recorded tolerance is tested.
|
|
Example:
|
; tm-check:tedge-tol
|
|
; Check the recorded tolerance of a tedge.
|
|
(define b (solid:block (position 0 0 0)
|
|
|
(position 10 10 10)))
|
|
;; b
|
|
(define e (car (tolerant:fix (car
|
|
|
(entity:edges b)))))
|
|
;; e
|
|
(tm-check:tedge-tol e)
|
|
;; ()
|
|
; tolerance is correct
|