arc:start-angle
List of: Scheme Extensions
Subjects: Construction Geometry
Contents: Kernel

Action: Gets the start angle of a circular curve or edge or an elliptical curve or edge.

Filename: kern/kern_scm/crv_scm.cxx

Syntax: (arc:start-angle arc)

Arg Types: arc elliptical-curve | elliptical-edge

Returns: real

Description: This extension returns the start angle in degrees. Circular curves and edges are subsets of elliptical curves and edges.


arc specifies an elliptical-curve or an elliptical-edge.

Example: ; arc:start-angle

; Create a circular edge.

(define arc1


(edge:circular


(position 15 25 0) 25 0 185))

;; arc1

; Get the start angle of the edge.

(arc:start-angle arc1)

;; 0

; Set the start angle of the edge.

(define arc (arc:set-start arc1 45))

;; arc

(arc:start-angle arc1)

;; 45
PDF/KERN/12SCA.PDF
HTM/DATA/KERN/KERN/12SCA/0019.HTM