gvector:from-to
List of: Scheme Extensions
Subjects: Mathematics
Contents: Kernel

Action: Creates a gvector between two positions.

Filename: kern/kern_scm/gvec_scm.cxx

Syntax: (gvector:from-to position1 position2)

Arg Types: position1 position

position2 position

Returns: gvector

Description: This extension returns the gvector from position1 to position2.


position1 specifies the start location of the gvector.


position2 specifies the end location of the gvector.

Example: ; gvector:from-to

; Create a gvector from one position to another.

(gvector:from-to (position 0 0 0) (position 5 1 6))

;; #[gvector 5 1 6]
PDF/KERN/13SCF.PDF
HTM/DATA/KERN/KERN/13SCF/0078.HTM