tm-chk-info:edge
List of: Scheme Extensions
Subjects: Tolerant Modeling
Contents: Intersectors

Action: Return the edge that caused a particular error.

Filename: intr/intr_scm/tmchk_typ.cxx

Syntax: (tm-chk-info:edge tm-check)

Arg Types: tm-check tm-chk-info

Returns: real | boolean

Description: Returns the edge recorded within the tm-chk-info that was the cause of the reported error, or #f if no edge is recorded.


tm-check is an object of type tm-chk-info that contains tolerant modeling check details.

Example: ; tm-chk-info:edge

; Print out the edge where an error occurs.

(define b (solid:block (position 0 0 0)


(position 10 10 10)))

;; b

(define errors (tm-check:all (car (entity:edges b))))

;; errors

(define checks (tm-chk-info:edge (car errors)))

;; checks
PDF/INTR/02SC.PDF
HTM/DATA/INTR/INTR/02SC/0078.HTM