Action:
|
Determines the domain of an
edge's curve.
|
|
Filename:
|
kern/kern_scm/qedg_scm.cxx
|
|
Syntax:
|
(curve:domain edge)
|
|
Arg Types:
|
edge
|
edge
|
|
Returns:
|
unspecified
|
|
Description:
|
Given an
edge, returns the underlying
curve's domain.
|
|
|
edge specifies an edge.
|
|
Example:
|
; curve:domain
|
|
; ; Create a circular curve.
|
|
; Define an edge
|
|
(define ellipse1
|
|
|
(edge:elliptical (position 15 15 0)
|
|
|
(position 25 15 0) 2 0 270))
|
|
;; ellipse1
|
|
; Determine the domain of the edge
|
|
(curve:domain ellipse1)
|
|
; -3.1415926535898 : 3.1415926535898
|
|
;; ()
|