ideasman42 / isect_segments-bentley_ottmann

BentleyOttmann sweep-line implementation (for finding all intersections in a set of line segments)
MIT License
91 stars 40 forks source link

Hi, how can i convert to this coordinate? #11

Closed wanghuok closed 6 years ago

wanghuok commented 6 years ago

Hello. thanks for your wonderful work. I have some points , which coordinate use top left vertex as origin. How can i convert my coordinate to yours?Thanks. I call this function 'isect_segments_include_segments'. it find correct intersections. but segments it returns are not correct. I think it due to the mismatch coordinate.

wanghuok commented 6 years ago

Sorry, it is my stupid mistake. it works well.