Function: dircos

Syntax

dircos (<point>)

Type

point

Returns

The normalized form of a 3-D vector.

Parameters

Examples

Normalize a point:

point v = dircos((100,100,0)

v will now contain (0.707,0.707,0).

See Also

Functions:

adir3d(point)