Line to Line intersection in Clipper

271 Views Asked by At

Does the clipper has a line to line interSection or not?

This is the Code I have tried and I don't get any point that is intersecting

_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();
0

There are 0 best solutions below