par-pos:set-u!
List of: Scheme Extensions
Subjects: Mathematics
Contents: Kernel

Action: Sets the u-component of a par-pos.

Filename: kern/kern_scm/par_scm.cxx

Syntax: (par-pos:set-u! par-pos u)

Arg Types: par-pos par-pos

u real

Returns: real

Description: The u-coordinate is returned as a real.


par-pos identifies the original u and v values.


u specifies the value to replace the original u value specified in par-pos.

Example: ; par-pos:set-u!

; Create a par-pos object.

(define par1 (par-pos 0 0))

;; par1

; Set a new u-coordinate for an existing par-pos.

(par-pos:set-u! par1 5)

;; 5
PDF/KERN/14SCI.PDF
HTM/DATA/KERN/KERN/14SCI/0045.HTM