Transform Operations(1)

NAME
C_transform_fposition, C_transform_iposition, C_transform_fvector, C_tranform_ivector - routines to transform a position or vector (floating point or integer) by a matrix

SYNOPSIS
 # include <math.h>
 # include "VolVis.h"
 C_transform_fposition( in_position, out_position, M )
 C_FPosition    *in_position,
                    *out_position;
 C_Matrix       *M;
 C_transform_iposition( in_position, out_position, M )
 C_IPosition    *in_position,
                    *out_position;
 C_Matrix       *M;
 C_transform_fvector( in_vector, out_vector, M )
 C_FVector    *in_vector,
                    *out_vector;
 C_Matrix       *M;
 C_transform_ivector( in_vector, out_vector, M )
 C_IVector    *in_vector,
                    *out_vector;

 in_position    expects the position to be transformed
 out_position    returns the transformed position
 in_vector        expects the vector to be transformed
 out_vector    returns the transformed vector
 M           expects the transformation matrix

DESCRIPTION

SEE ALSO
C_identity3D(2), C_scale3D(2), C_translate3D(2), C_rotate3D(2), C_create_volume_matrices(2), C_matrix_multiply(2) C_copy_matrix(2)

AUTHOR
    Lisa Sobierajski