User Tools

Site Tools


hyperfun:lib_stretch

Transformation: Stretching in 3D space

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

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

Parameters:

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: 2020/12/31 10:49 (external edit)