Action:
|
Gets the center position of a circular curve or edge of an elliptical curve or edge.
|
|
Filename:
|
kern/kern_scm/crv_scm.cxx
|
|
Syntax:
|
(arc:center arc)
|
|
Arg Types:
|
arc
|
elliptical-curve | elliptical-edge
|
|
Returns:
|
position
|
|
Description:
|
Circular curves and edges are subsets of elliptical curves and edges.
|
|
|
arc specifies an elliptical-curve or an elliptical-edge.
|
|
Example:
|
; arc:center
|
|
; Create a circular edge.
|
|
(define arc1
|
|
|
(edge:circular
|
|
|
(position 15 25 0) 25 0 185))
|
|
;; arc1
|
|
; Get the center of the edge.
|
|
(arc:center arc1)
|
|
;; #[position 15 25 0]
|