class VEC_ALG


Flattened version is here



Public


Features
atn2(x,y:FLT):FLT
**** similar to atan2. return 0<=atn2<4 while 0<=arg(x,y)<2pi
rotation(x0, y0, x1, y1, x2, y2:INT):INT
****
__rotational_order_of_3-vector_p0,_p1,_p2.
rotation of 3-pts. p0, p1, p2 = -1,0,1.
__1:_p0-p1-p2_run_anti-clockwise.
-1: p0-p1-p2 run clockwise.
__0:_singular_case.
sLength(inout x, inout y:INT, d:INT)
**** change length of the vector(x,y) to d. I assume length(x,y)/=0

The Sather Home Page