Class Index | File Index

Classes


Class YMath.v2d


Defined in: YMath.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
YMath.v2d utilities Not instanciable.
Method Summary
Method Attributes Method Name and Description
<static>  
YMath.v2d.add(vxyA, vxyB)
<static>  
YMath.v2d.bezier(vlist, perc)
<static>  
YMath.v2d.cartToPol(x, y)
<static>  
YMath.v2d.extrapolate(vxyzA, vxyzB, perc)
<static>  
YMath.v2d.fit(size_from, size_to, outside, domElement)
<static>  
YMath.v2d.fitInside(size_from, size_to, domElement)
<static>  
YMath.v2d.fitOutside(size_from, size_to, domElement)
<static>  
YMath.v2d.length(x, y)
<static>  
YMath.v2d.mult(vxy, factor)
<static>  
YMath.v2d.normalise(vxy)
<static>  
YMath.v2d.polToCart(angle, length)
<static>  
YMath.v2d.to(vxyA, vxyB)
Class Detail
YMath.v2d()
YMath.v2d utilities Not instanciable.
Method Detail
<static> {array[2]} YMath.v2d.add(vxyA, vxyB)
Parameters:
{array[2]} vxyA
{array[2]} vxyB
Returns:
{array[2]} vxyA+vxyB

<static> YMath.v2d.bezier(vlist, perc)
Parameters:
vlist
perc

<static> YMath.v2d.cartToPol(x, y)
Parameters:
x
y

<static> YMath.v2d.extrapolate(vxyzA, vxyzB, perc)
Parameters:
vxyzA
vxyzB
perc

<static> YMath.v2d.fit(size_from, size_to, outside, domElement)
Parameters:
size_from
size_to
outside
domElement

<static> YMath.v2d.fitInside(size_from, size_to, domElement)
Parameters:
size_from
size_to
domElement

<static> YMath.v2d.fitOutside(size_from, size_to, domElement)
Parameters:
size_from
size_to
domElement

<static> YMath.v2d.length(x, y)
Parameters:
x
y

<static> {array[2]} YMath.v2d.mult(vxy, factor)
Parameters:
{array[2]} vxy
{number} factor
Returns:
{array[2]} factor*vxy

<static> YMath.v2d.normalise(vxy)
Parameters:
vxy

<static> YMath.v2d.polToCart(angle, length)
Parameters:
angle
length

<static> {array[2]} YMath.v2d.to(vxyA, vxyB)
Parameters:
{array[2]} vxyA
{array[2]} vxyB
Returns:
{array[2]} vxyA-vxyB

Documentation generated by JsDoc Toolkit 2.4.0 on Sat Nov 16 2013 03:47:43 GMT+0100 (CET)