Docs @ Psychtoolbox Wiki : bvlTrapezoidDots

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

bvlTrapezoidDots

PsychtoolboxPsychGLImageProcessingprivate

newDots = bvlTrapezoidDots(dots, strDir, delta)

Trapezoidal transform of dots in the given direction by the specified amount.

dots - [Nx2] array of dots to be translated. First column is the x
coordinate, Second Column the y coordinate.
[x1 y1; x2 y2; .... xN yN];

strDir - string specifing the direction
'top_forward', 'top_back', 'right_forward', 'right_back'

delta - amount to translate

newDots - [Nx2] translated array

NOTE: Origin is at top-left of screen.



Path
Psychtoolbox/PsychGLImageProcessing/private/bvlTrapezoidDots.m

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0441 seconds