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

Linux Cross Reference
Tina4/src/vision/line2/line2_fmt.c

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

  1 /**@(#)
  2 **/
  3 #include <stdio.h>
  4 #include <math.h>
  5 #include <tina/sys.h>
  6 #include <tina/sysfuncs.h>
  7 #include <tina/math.h>
  8 #include <tina/mathfuncs.h>
  9 #include <tina/vision.h>
 10 
 11 void    line2_format(Line2 * line)
 12 {
 13     Vec2    p1 = {Vec2_id};
 14     Vec2    p2 = {Vec2_id};
 15     Vec2    v = {Vec2_id};
 16 
 17     p1 = line->p1;
 18     p2 = line->p2;
 19     v = line->v;
 20     format("Line2 :%15d\n", line->label);
 21     format("length:%15.6f\n", line->length);
 22     format("p1    :%15.6f%15.6f\n", vec2_x(p1), vec2_y(p1));
 23     format("p2    :%15.6f%15.6f\n", vec2_x(p2), vec2_y(p2));
 24     format("v     :%15.6f%15.6f\n", vec2_x(v), vec2_y(v));
 25     format("\n");
 26 }
 27 

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