Closed nuitlejour closed 1 year ago
Hi, thanks for reporting! yes, this can be improved. I have started to check, but ran out of time. I'll have another llok next week. Stay tuned...
Hi, just made a correction in commit a4be53035b5f764df97919a7cffb5dd69f2004d8. Should work better now!
I am using the lastest matGeom, in source code mmTrace\intersectEdges.m: 79 ` % Process colinear edges
% colinear edges may have 0, 1 or infinite intersection % Discrimnation based on position of edge2 vertices on edge1 if sum(col) > 0 % array for storing results of colinear edges resCol = Inf * ones(size(col));
end `
It is apparent that t1, t2 should be single-valued, but edgePosition() does not guaranty that.
I made the following change, could you please check and make sure the sementics are correct?
` % Process colinear edges
% colinear edges may have 0, 1 or infinite intersection % Discrimnation based on position of edge2 vertices on edge1 if sum(col) > 0 % array for storing results of colinear edges resCol = Inf * ones(size(col));
end `