gvector:z
List of: Scheme Extensions
Subjects: Mathematics
Contents: Kernel

Action: Gets the z-component of a gvector relative to the active coordinate system.

Filename: kern/kern_scm/gvec_scm.cxx

Syntax: (gvector:z gvector)

Arg Types: gvector gvector

Returns: real

Description: This extension returns the z-coordinate of the gvector, transformed to the active WCS.


gvector specifies a gvector.

Example: ; gvector:z

; Create a gvector.

(define vector1 (gvector 7 5 0 "spherical"))

;; vector1

; Determine the z-component of a gvector.

(gvector:z vector1)

;; 6.97336288664222
PDF/KERN/13SCF.PDF
HTM/DATA/KERN/KERN/13SCF/0092.HTM