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

PointOnLine 't' result parameter? #30

Closed
mm-ns opened this issue Sep 11, 2017 · 1 comment
Closed

PointOnLine 't' result parameter? #30

mm-ns opened this issue Sep 11, 2017 · 1 comment
Labels

Comments

@mm-ns
Copy link

mm-ns commented Sep 11, 2017

What is the t parameter (since it can also be negative) when you calculate the "PointOnLine" ?

@mourner
Copy link
Member

mourner commented Nov 28, 2017

This is actually a bug. We should limit that t to be in the [0, 1] range. It should be a parametric measure of where exactly the closest point on the line is, starting with 0 at points[index] and ending with 1 at points[index + 1].

@mourner mourner added the bug label Nov 28, 2017
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

2 participants