~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Tina4/src/vision/geom/geom_trans.c

Version: ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /**@(#)
  2 **/
  3 #include <tina/sys.h>
  4 #include <tina/math.h>
  5 #include <tina/mathfuncs.h>
  6 #include <tina/vision.h>
  7 #include <tina/visionfuncs.h>
  8 
  9 /* apply given transform to a 3D geometrical primitive
 10  * 
 11  * transformation performed inplace */
 12 
 13 void    geom_transform(void *geom, int type, Transform3 * trans)
 14 {
 15     switch (type)
 16     {
 17         case POINT3:
 18         point3_transform((Point3 *) geom, *trans);
 19         break;
 20     case LINE3:
 21         line3_transform((Line3 *) geom, *trans);
 22         break;
 23     case CONIC3:
 24         conic3_transform((Conic3 *) geom, *trans);
 25         break;
 26     case PLANE:
 27         plane_transform((Plane *) geom, *trans);
 28         break;
 29     }
 30 }
 31 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.