-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to define a Ray ? #75
Comments
Hi FlashTang, Sorry, there's no "ray" shape in the library. When this was written, it was to be used with SVG shapes. SVG doesn't have rays, so this library doesn't either. As an aside, any intersection that uses the line-line method could be made to support rays. The current code makes sure that the intersection point lies on both lines. If that check were modified (or even removed), then it would be checking rays instead of line segments. This may not help you, but your example image only uses line-line, so it could help with that case. |
@thelonious Reference: https://stackoverflow.com/questions/7740507/extend-a-line-segment-a-specific-distance
Again, thanks for creating this library |
Hello Sir
How can I define a Ray ?
Like following image:
I know I can lengthen the segment with a long length
but maybe kld-intersections already has it's way to define easily ?
The text was updated successfully, but these errors were encountered: