tm-check:tedge-tcoedge-ranges
List of: Scheme Extensions
Subjects: Tolerant Modeling
Contents: Intersectors

Action: Test whether the ends of the 3D curves of a tcoedge and its edge are sufficiently compatible for tolerant modeling to work.

Filename: intr/intr_scm/tmchk_scm.cxx

Syntax: (tm-check:tedge-tcoedge-ranges coedge)

Arg Types: coedge tcoedge

Returns: (tm-chk-info ...)

Errors: Argument is not a TCOEDGE.

Description: Returns as tm-check:tm-bad-topology would if the coedge's edge is not a TEDGE. Otherwise it analyses the start and end of the coedge 3D curve and the curve of its edge to determine whether the curves overlap sensibly and have compatible directions so that tolerant modeling can work on them.


coedge is an argument of type TCOEDGE for which the compatibility is tested.

Example: ; tm-check:tedge-tcoedge-ranges

; Check the coedge and edge for compatibility.

(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-ranges (car


(entity:tcoedges e)))

;; ()

; geometry is valid
PDF/INTR/02SC.PDF
HTM/DATA/INTR/INTR/02SC/0073.HTM