Home
last modified time | relevance | path

Searched refs:pt_s (Results 1 – 1 of 1) sorted by relevance

/external/opencv/cv/src/
Dcvshapedescr.cpp561 CvPoint pt_s, pt_e; /* first and last points */ in icvContourSecArea() local
602 CV_READ_SEQ_ELEM( pt_s, reader ); in icvContourSecArea()
608 nx = pt_s.y - pt_e.y; in icvContourSecArea()
609 ny = pt_e.x - pt_s.x; in icvContourSecArea()
631 sk = nx * (xi - pt_s.x) + ny * (yi - pt_s.y); in icvContourSecArea()
660 t = ((yi_1 - pt_s.y) * du + dv * (pt_s.x - xi_1)) / in icvContourSecArea()
663 t = (xi_1 - pt_s.x) / dx; in icvContourSecArea()
666 x_s = pt_s.x + t * dx; in icvContourSecArea()
667 y_s = pt_s.y + t * dy; in icvContourSecArea()