剪裁器是否有线到线的交叉点?
这是我尝试过的代码,我没有得到任何相交的点
_line1 = (10,10) (10,20)//Given Input
_line2 = (10,10) (10,20)//Given Input
Clipper clipperObj;
PolyTree _point;
clipperObj.AddPath(_line1, ptSubject, false);
clipperObj.AddPath(_line2, ptSubject, false);
clipperObj.Execute(ctIntersection, _point);
clipperObj.Clear();