wcs?
List of: Scheme Extensions
Subjects: Work Coordinate Systems
Contents: Kernel

Action: Determines if a Scheme object is a WCS.

Filename: kern/kern_scm/wcs_scm.cxx

Syntax: (wcs? object)

Arg Types: object scheme-object

Returns: boolean

Description: This extension returns #t if the specified object is a WCS entity; otherwise, it returns #f.


object specifies the scheme-object that has to be queried for a wcs.

Example: ; wcs?

; Create a wcs.

(define wcs1 (wcs (position 0 0 0) (gvector 0 -1 0)


(gvector 1 0 0)))

;; wcs1

; Determine if the WCS is actually a WCS.

(wcs? wcs1)

;; #t
PDF/KERN/15SCR.PDF
HTM/DATA/KERN/KERN/15SCR/0061.HTM