I guess that in the case
AB = [ -4 -4 ; 6 -8 ];
F = [
-4 4 4 -4
2 2 -4 -4
];
AB do not cross the boundary
The problem's figure is missing again. We can imagine any simple polygon and a line segment.
9889 Solvers
2184 Solvers
Project Euler: Problem 8, Find largest product in a large string of numbers
320 Solvers
Make a run-length companion vector
512 Solvers
232 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!