Transformation: Stretching in 3D space

Definition: x’=x0+(x-x0)/scale (inverse mapping)

Call: hfSTretch3D(xt,x0,sx,sy,sz);


xt - point coordinates array to be changed

x0 - reference point for stretching

sx,sy,sz - scaling factors along axes

Test file: stretch.hf

hyperfun/lib_stretch.txt · Last modified: 2008/12/11 10:15 by admin
This site contains HyperFun and other software that is free to use and modify under the provisions of the CGPL agreement unless otherwise stated.
Project hosted by the Digital Materialization Group
HyperFun CGPL Creative Commons License Valid CSS