public static boolean clipLine(Rect imgRect, Point pt1, Point pt2)
{
double[] pt1_out = new double[2];
double[] pt2_out = new double[2];
boolean retVal = clipLine_0(imgRect.x, imgRect.y, imgRect.width, imgRect.height, pt1.x, pt1.y, pt1_out, pt2.x, pt2.y, pt2_out);
if(pt1!=null){ pt1.x = pt1_out[0]; pt1.y = pt1_out[1]; }
if(pt2!=null){ pt2.x = pt2_out[0]; pt2.y = pt2_out[1]; }
return retVal;
}
Imgproc.java 文件源码
java
阅读 26
收藏 0
点赞 0
评论 0
项目:MOAAP
作者:
评论列表
文章目录