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

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

Filename: kern/kern_scm/gvec_scm.cxx

Syntax: (gvector:x gvector)

Arg Types: gvector gvector

Returns: real

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


gvector specifies a gvector.

Example: ; gvector:x

; Create a gvector.

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

;; vector1

; Determine the x-component of a gvector.

(gvector:x vector1)

;; 0.610090199233607
PDF/KERN/13SCF.PDF
HTM/DATA/KERN/KERN/13SCF/0090.HTM