Action:
|
Returns the end direction of the curve.
|
|
Filename:
|
cstr/cstr_scm/edge_scm.cxx
|
|
Syntax:
|
(edge:end-dir edge)
|
|
Arg Types:
|
edge
|
entity
|
|
Returns:
|
gvector
|
|
|
edge is an input entity.
|
|
Example:
|
; edge:end-dir
|
|
; Create elliptical edge by specifying the center
|
|
; and start positions, the ratio, and the start and
|
|
; end angles.
|
|
(define center (position 15 15 0))
|
|
;; center
|
|
(define start (position 15 -5 0))
|
|
;; start
|
|
(define hello-edge
|
|
|
(edge:elliptical center start 0.5 0 270))
|
|
;; hello-edge
|
|
; Get end direction of the curve.
|
|
(edge:end-dir hello-edge)
|
|
;; #[gvector 1.83690953072103e-15 -20 0]
|