Tesseract  3.02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
points.cpp File Reference
#include "mfcpch.h"
#include <stdlib.h>
#include "helpers.h"
#include "ndminx.h"
#include "serialis.h"
#include "points.h"

Go to the source code of this file.

Functions

 ELISTIZE (ICOORDELT) bool FCOORD
 

Function Documentation

ELISTIZE ( ICOORDELT  )

Definition at line 27 of file points.cpp.

28  { //Convert to unit vec
29  float len = length ();
30 
31  if (len < 0.0000000001) {
32  return false;
33  }
34  xcoord /= len;
35  ycoord /= len;
36  return true;
37 }