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

Linux Cross Reference
Tina4/src/vision/geom/geom_free.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 void    geom_free(void *geom, int type)
 10 {
 11     switch (type)
 12     {
 13         case SCALAR:
 14         scalar_free((Scalar *) geom);
 15         break;
 16     case POINT2:
 17         point2_free((Point2 *) geom);
 18         break;
 19     case LINE2:
 20         line2_free((Line2 *) geom);
 21         break;
 22     case CONIC2:
 23         conic_free((Conic *) geom);
 24         break;
 25     case POINT3:
 26         point3_free((Point3 *) geom);
 27         break;
 28     case LINE3:
 29         line3_free((Line3 *) geom);
 30         break;
 31     case CONIC3:
 32         conic3_free((Conic3 *) geom);
 33         break;
 34     case PLANE:
 35         plane_free((Plane *) geom);
 36         break;
 37     case TRANSF3:
 38         transf3_free((Transf3 *) geom);
 39         break;
 40     }
 41 }
 42 

~ [ 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.