Action:
|
Determines if a scheme-object is a
curve:circular.
|
|
Filename:
|
kern/kern_scm/qgom_scm.cxx
|
|
Syntax:
|
(curve:circular? object)
|
|
Arg Types:
|
object
|
scheme-object
|
|
Returns:
|
boolean
|
|
Description:
|
This extension returns
#t if the object is a
curve:circular; otherwise, it returns
#f.
|
|
|
object specifies the
scheme-object that has to be queried for circularity.
|
|
Example:
|
; curve:circular?
|
|
; Create a circular curve.
|
|
(define curve1
|
|
|
(curve:circular
|
|
|
(position 0 0 0) 25 (gvector 0 1 0)))
|
|
;; curve1
|
|
; Determine if it is indeed a circular curve.
|
|
(curve:circular? curve1)
|
|
;; #t
|