Lines Matching refs:start_pt
502 PT start_pt((T)-1000000, (T)-1000000), end_pt(0, 0), pt(0,0); in approxPolyDP_() local
518 start_pt = src_contour[count-1]; in approxPolyDP_()
520 if( start_pt.x != end_pt.x || start_pt.y != end_pt.y ) in approxPolyDP_()
542 READ_PT(start_pt, pos); in approxPolyDP_()
549 dx = pt.x - start_pt.x; in approxPolyDP_()
550 dy = pt.y - start_pt.y; in approxPolyDP_()
574 WRITE_PT(start_pt); in approxPolyDP_()
583 READ_PT(start_pt, pos); in approxPolyDP_()
589 dx = end_pt.x - start_pt.x; in approxPolyDP_()
590 dy = end_pt.y - start_pt.y; in approxPolyDP_()
597 dist = fabs((pt.y - start_pt.y) * dx - (pt.x - start_pt.x) * dy); in approxPolyDP_()
612 start_pt = src_contour[slice.start]; in approxPolyDP_()
617 WRITE_PT(start_pt); in approxPolyDP_()
636 READ_DST_PT(start_pt, pos); in approxPolyDP_()
645 dx = end_pt.x - start_pt.x; in approxPolyDP_()
646 dy = end_pt.y - start_pt.y; in approxPolyDP_()
647 dist = fabs((pt.x - start_pt.x)*dy - (pt.y - start_pt.y)*dx); in approxPolyDP_()
648 successive_inner_product = (pt.x - start_pt.x) * (end_pt.x - pt.x) + in approxPolyDP_()
649 (pt.y - start_pt.y) * (end_pt.y - pt.y); in approxPolyDP_()
655 dst_contour[wpos] = start_pt = end_pt; in approxPolyDP_()
661 dst_contour[wpos] = start_pt = pt; in approxPolyDP_()