Action:
|
Determines if a Scheme object is a transform.
|
|
Filename:
|
kern/kern_scm/tran_scm.cxx
|
|
Syntax:
|
(transform? object)
|
|
Arg Types:
|
object
|
scheme-object
|
|
Returns:
|
boolean
|
|
|
object specifies the
scheme-object that has to be queried for a transform.
|
|
Example:
|
; transform?
|
|
; Create a transform.
|
|
(define transform1
|
|
|
(transform:translation
|
|
|
(gvector 1 0 0)))
|
|
;; transform1
|
|
; Determine if the transform and its identity
|
|
; are actually transforms.
|
|
(transform? transform1)
|
|
;; #t
|
|
(transform? (transform:identity))
|
|
;; #t
|