Ang2Vec Math - Vectors 

Declaration:

FUNCTION   Ang2Vec
(   angleR :REAL;
    Length :REAL
) :VECTOR ;

Description:

Function Ang2Vec returns a vector as defined by the specified angle and length..



  AngBVec Math - Vectors 

Declaration:

FUNCTION   AngBVec
(   v1 :VECTOR;
    v2 :VECTOR
) :REAL ;

Description:

Function AngBVec returns the angle (in radians) between the two specified vectors.



  Comp Math - Vectors 

Declaration:

PROCEDURE   Comp
(   v1 :VECTOR;
    v2 :VECTOR;
  VAR  v3 :VECTOR;
  VAR  v4 :VECTOR
) ;

Description:

Procedure Comp returns the vector component of v1 along v2 in v3, and the vector component of [p:1]] orthogonal to v2 in v4.

Parameters:

v1 Source vector 1.
v2 Source vector 2
v3 Component of vector 1 along vector 2
v4 Component of vector 1 orthogonal to vector 2.



  DotProduct Math - Vectors 

Declaration:

FUNCTION   DotProduct
(   v1 :VECTOR;
    v2 :VECTOR
) :REAL ;

Description:

Function DotProduct returns the dot product of the two specified vectors.



  Norm Math - Vectors 

Declaration:

FUNCTION   Norm
( Vec:VECTOR ) :REAL ;

Description:

Function Norm returns the norm (or length) of the specified vector.



  Perp Math - Vectors 

Declaration:

FUNCTION   Perp
( Vec:VECTOR ) :VECTOR ;

Description:

Function Perp returns a vector which is perpendicular to the specified vector .



  UnitVec Math - Vectors 

Declaration:

FUNCTION   UnitVec
( Vect:VECTOR ) :VECTOR ;

Description:

Function UnitVec returns a standard unit vector of the specified vector.



  Vec2Ang Math - Vectors 

Declaration:

FUNCTION   Vec2Ang
( Vect:VECTOR ) :REAL ;

Description:

Function Vec2Ang returns the angle of the specified vector. The angle result will be in the range -180 < Vec2Ang <= 180.