next up previous contents index
Next: Function Interpreter Functions Up: Utility Functions Previous: Functions for Arrays and

Transformation Functions

 

The transformation functions take some arguments that describe a transformation (reflect, rotate with angle phi ...) in 3dim-space and then return the transformation's matrix representation m. A line is given by two points (p[2]), a plane by three points (p[3]).

int g_line_reflect (VEC3 p[2], MATRIX44 m)

int g_line_rotate (VEC3 p[2], double phi, MATRIX44 m)

int g_plane_reflect (VEC3 p[3], MATRIX44 m)

int g_point_reflect (VEC3 p, MATRIX44 m)

int g_translate (VEC3 p, MATRIX44 m)



SFB 256 Universität Bonn and IAM Universität Freiburg

Copyright © by the Sonderforschungsbereich 256 at the Institut für Angewandte Mathematik, Universität Bonn.