Action:
|
Test whether the geometry of a tolerant edge is illegal or not.
|
|
Filename:
|
intr/intr_scm/tmchk_scm.cxx
|
|
Syntax:
|
(tm-check:tedge-bad-crv edge)
|
|
Arg Types:
|
edge
|
tedge
|
|
Returns:
|
(tm-chk-info ...)
|
|
Errors:
|
Argument is not a
TEDGE.
|
|
Description:
|
Returns as
tm-check:tm-bad-topology would if the edge is not a
TEDGE. Otherwise it checks whether the edge geometry is invalid, according to the standard
ACIS curve checker. If any problems are identified, a
tm-chk-info of derived type
tedge-bad-crv is returned which lists (via
tedge-bad-crv:csl) the
check_status_list of problems returned by the curve checker. If the geometry is valid, an empty list is returned.
|
|
|
edge is an argument of type
TEDGE for which the geometry is tested for legality.
|
|
Example:
|
; tm-check:tedge-bad-crv
|
|
; Check to see if the edge is a legal edge.
|
|
(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-bad-crv e)
|
|
;; ()
|
|
; geometry is valid
|