|
Action:
|
Returns the tangent convexity of an
ed-cvty-info.
|
|
|
Filename:
|
intr/intr_scm/cvty_typ.cxx
|
|
|
Syntax:
|
(ed-cvty-info:tangent-convexity ed-cvty-info)
|
|
|
Arg Types:
|
ed-cvty-info
|
scm_ed_cvty_info
|
|
|
Returns:
|
scm_ed_cvty_info
|
|
|
Description:
|
This extension returns the convexity of an
ed-cvty-info if that edge was viewed with an angle tolerance large enough for it to be considered a smooth (tangent) edge. Entirely equivalent to the C++
ed_cvty_info::tangent_convexity.
|
|
|
ed-cvty-info represents the convexity of an edge.
|
|
|
Example:
|
; ed-cvty-info:tangent-convexity
|
|
; Create a block.
|
|
(define block1 (solid:block (position 0 10 0)
|
|
|
(position 10 20 20)))
|
|
;; block1
|
|
; Define the edges of block1
|
|
(define edge-list (entity:edges block1))
|
|
;; edge-list
|
|
(ed-cvty-info:tangent-convexity
|
|
|
(edge:ed-cvty-info (list-ref edge-list 0)))
|
|
;; #[cvty: knf]
|
|
(define block1 (solid:block (position 0 10 0)
|
|
|
(position 10 20 20)))
|
|
;; block1
|
|
; Define the edges of block1
|
|
(define edge-list (entity:edges block1))
|
|
;; edge-list
|
|
(ed-cvty-info:tangent-convexity
|
|
|
(edge:ed-cvty-info (list-ref edge-list 0)))
|
|
;; #[cvty: knf]
|