tm-check:tcoedge-crv-non-g1
List of: Scheme Extensions
Subjects: Tolerant Modeling
Contents: Intersectors

Action: Test whether the 3D curve of a tolerant coedge is G1 or not.

Filename: intr/intr_scm/tmchk_scm.cxx

Syntax: (tm-check:tcoedge-crv-non-g1 edge)

Arg Types: coedge tcoedge

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

Errors: Argument is not a TEDGE.

Description: Returns as tm-check:tm-bad-topology would if the coedge is not a TCOEDGE. Otherwise it checks the coedge 3D curve for being G1. If any problems are identified, a tm-chk-info of derived type tcoedge-crv-non-g1 is returned which lists (via tm-chk-info:coedge-param) the coedge parameter where there is a problem. Note that the coedge parameter is negated if the coedge is reversed so as to have the same sense as the edge itself. If the 3D curve is G1, an empty list is returned.


edge is an argument of type TEDGE whose 3D cure is tested for G1 continuity.

Example: ; tm-check:tcoedge-crv-non-g1

; Check to see if the coedge is G1 or not.

(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:tcoedge-crv-non-g1 (car


(entity:tcoedges e)))

;; ()

; 3D curve is G1
PDF/INTR/02SC.PDF
HTM/DATA/INTR/INTR/02SC/0063.HTM