Home | History | Annotate | Download | only in src

Lines Matching refs:line1

128 icvCrossLines( float *line1, float *line2, float *cross_point )
132 if( line1 == 0 && line2 == 0 && cross_point == 0 )
135 delta = line1[0] * line2[1] - line1[1] * line2[0];
140 cross_point[0] = (-line1[2] * line2[1] + line1[1] * line2[2]) / delta;
141 cross_point[1] = (-line1[0] * line2[2] + line1[2] * line2[0]) / delta;