pt_in_rect

来源:互联网 发布:后端数据库 编辑:程序博客网 时间:2024/06/08 02:08
bool pt_in_rect(CvPoint pt,CvRect rect){if( pt.x>=rect.x && pt.x<=(rect.x+rect.width) && pt.y>=rect.y && pt.y<=(rect.y+rect.height) )return true;else return false;}

原创粉丝点击