position
List of: Scheme Data Types
Subjects: Mathematics
Contents: Scheme Support

Description: A position object represents a location in 3D Cartesian space, and is subject to certain direction and transformation operations. Position coordinates are entered relative to the active coordinate system.

Derivation: position : scheme-object

C++ Type: SPAposition

External Rep: #[position %.15g %.15g %.15g]

where the first double is the x-coordinate,

the second double is the y-coordinate,

and the third double is the z-coordinate.

Example: ; position (data type)

; Define and inquire a position object.

(define my_origin (position 0 0 0))

;; my_origin

(position? my_origin)

;; #t
PDF/SCM/09SD.PDF
HTM/DATA/SCM/SCM/09SD/0054.HTM