Action:
|
Gets the end angle of a circular curve or edge or an elliptical curve or edge.
|
|
Filename:
|
kern/kern_scm/crv_scm.cxx
|
|
Syntax:
|
(arc:end-angle arc)
|
|
Arg Types:
|
arc
|
elliptical-curve | elliptical-edge
|
|
Returns:
|
real
|
|
Description:
|
This extension returns the end angle of the elliptical curve or edge in degrees. Circular curves and edges are subsets of elliptical curves and edges.
|
|
|
arc specifies an elliptical-curve or an elliptical-edge.
|
|
Example:
|
; arc:end-angle
|
|
; Create a circular edge.
|
|
(define arc1
|
|
|
(edge:circular
|
|
|
(position 15 25 0) 25 0 185))
|
|
;; arc1
|
|
; Get the end angle of the edge.
|
|
(arc:end-angle arc1)
|
|
;; 185
|