Action:
|
Performs all the tolerant edge tests that ensure that this edge geometry and coedge geometry are compatible for tolerant modeling.
|
|
Filename:
|
intr/intr_scm/tmchk_scm.cxx
|
|
Syntax:
|
(tm-check:tedge-tcoedge coedge)
|
|
Arg Types:
|
coedge
|
tcoedge
|
|
Returns:
|
(tm-chk-info ...)
|
|
Errors:
|
Argument is not a
TCOEDGE.
|
|
Description:
|
Performs all the
tm-check tests that apply to this coedge and edge together, to ensure that they are compatible. It therefore performs in order:
tm-check:tedge-tcoedge-ranges,
tm-check:tedge-tcoedge-bad-geom. (It is assumed that the edge and coedge have already been individually checked for validity using
tm-check:tedge and
tm-check:tcoedge.) A list of any
tm-chk-info error objects that are generated is return (or an empty list if all is fine).
|
|
|
coedge is an argument of type
TCOEDGE for which the compatibility is tested.
|
|
Example:
|
; tm-check:tedge-tcoedge
|
|
; Check all tests for edge tolerance.
|
|
(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-tcoedge (car (entity:tcoedges e)))
|
|
;; ()
|
|
; coedge geometry is fine
|