Synopsis

void imth_SetMatrixFromAxisAngle(MTH_3DPNT axis_pnt, double axis_vec[3], double angle, IMTH_MATRIX matrix)

Purpose

Create an IGES matrix from an axis and angle about axis

Description

Creates a 3X4 IGES matrix from an rotation about an arbitrary axis. The axis is defined by an axis point axis_pnt and an axis vector axis_vec. A rotation angle angle of 0.0 returns the identity matrix.

Input

axis_pnt

The axis vector start point

axis_vec

The axis vector direction

angle

The angle to revovle about the axis

Output

matrix

IGES matrix