Action:
|
Replaces a vertex with a tolerant vertex.
|
|
Filename:
|
cstr/cstr_scm/tmod_scm.cxx
|
|
APIs:
|
api_replace_vertex_with_tvertex
|
|
Syntax:
|
(vertex:tolerant vertex)
|
|
Arg Types:
|
vertex
|
vertex
|
|
Returns:
|
entity
|
|
Description:
|
The argument vertex specifies a vertex to be converted to a tolerant vertex.
|
|
|
vertex is an input argument of type vertex.
|
|
Example:
|
; vertex:tolerant
|
|
; Define a block.
|
|
(define block1 (solid:block (position 0 0 0)
|
|
|
|
|
|
|
|
(position 50 50 50)))
|
|
;; block1
|
|
(define tol-vertex (car (entity:vertices block1)))
|
|
;; tol-vertex
|
|
; tol-vertex => #[entity 2 1]
|
|
; Define a tolerant vertex
|
|
(define vertex1 (vertex:tolerant tol-vertex))
|
|
;; vertex1
|