SchemeDT:Position

From DocR23

Jump to: navigation, search


Action

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++

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
Personal tools