2d - Thick line intersections -


i trying calculate intersection between 'thick' line segments. is, lines which, on screen, have quite thick stroke. because may need intersect in reality lie parallel either other without actual centre lines intersecting.

the solution have @ moment treat them rectangles, means treating each side line segment , testing them sides of 1 rectangle against sides of other rectangle.

is there better way?


Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -