Classes

matrix_4.h File Reference

#include "geometry_3d.h"
Include dependency graph for matrix_4.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  matrix4_t
 4x4 matrix object. More...

Functions

matrix4_t operator* (const matrix4_t &A, const matrix4_t &B) throw ()
point3d_t operator* (const matrix4_t &M, const point3d_t &p) throw ()
matrix4_t operator+ (const matrix4_t &M, const point3d_t t) throw ()
void transformPoints (const matrix4_t &T, int N, const point3d_t *inputPoints, point3d_t *outputPoints)
 helper method to transform an array of points.

Function Documentation

matrix4_t operator* ( const matrix4_t A,
const matrix4_t B 
) throw () [inline]

Definition at line 111 of file matrix_4.h.

point3d_t operator* ( const matrix4_t M,
const point3d_t p 
) throw () [inline]

Definition at line 119 of file matrix_4.h.

matrix4_t operator+ ( const matrix4_t M,
const point3d_t  t 
) throw () [inline]

Definition at line 125 of file matrix_4.h.

void transformPoints ( const matrix4_t T,
int  N,
const point3d_t inputPoints,
point3d_t outputPoints 
)

helper method to transform an array of points.

Caller must provide valid input and output arrays, each of which must contain at least N points.

Definition at line 369 of file matrix_4.cpp.