Home
last modified time | relevance | path

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

/external/opencv3/modules/imgproc/src/
Dshapedescr.cpp757 CvPoint pt_s, pt_e; /* first and last points */ in icvContourSecArea() local
791 CV_READ_SEQ_ELEM( pt_s, reader ); in icvContourSecArea()
797 nx = pt_s.y - pt_e.y; in icvContourSecArea()
798 ny = pt_e.x - pt_s.x; in icvContourSecArea()
820 sk = nx * (xi - pt_s.x) + ny * (yi - pt_s.y); in icvContourSecArea()
849 t = ((yi_1 - pt_s.y) * du + dv * (pt_s.x - xi_1)) / in icvContourSecArea()
852 t = (xi_1 - pt_s.x) / dx; in icvContourSecArea()
855 x_s = pt_s.x + t * dx; in icvContourSecArea()
856 y_s = pt_s.y + t * dy; in icvContourSecArea()
/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()