Skip to content
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

2D Intersection - Line-Ray #4

Open
npruehs opened this issue Nov 10, 2015 · 0 comments
Open

2D Intersection - Line-Ray #4

npruehs opened this issue Nov 10, 2015 · 0 comments
Labels

Comments

@npruehs
Copy link
Owner

npruehs commented Nov 10, 2015

Implement a line-ray intersection test with the following signature:

public static bool Intersects(this LineSegment2F line, Ray2F ray)

Call that method from

public static bool Intersects(this Ray2F ray, LineSegment2F line)

If you can, provide an overload with an out parameter containing the intersection point.

Write at least one unit test illustrating your solution, and/or add any reference links as comments.

@npruehs npruehs changed the title Intersection - Line-Ray 2D Intersection - Line-Ray Nov 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant