Lines Matching defs:tx
36 static bool pointOnLine(double px,double py, double ax, double ay, double bx, double by, double& tx) {42 tx=px-ax;48 tx=(py-ay)/dy;51 tx=(px-ax)/dx;56 ty=tx;62 //printf(" tx=%f,ty=%f\n",tx,ty);63 if(fabs(tx-ty)<0.001 && tx>0 && tx<=1) {