-
Notifications
You must be signed in to change notification settings - Fork 58
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
Can you please explain why norm of Line is 90 CCW from it vector? #40
Comments
Hello, @redexp Sergii I don't understand what do you mean by "original vector", but both options are valid. Best regards, |
@alexbol99 as for me, first one should be vertical line, but it is horizontal line. To build vertical line I need to pass horizontal vector, why? |
This is vertical vector |
My answer was quick and incomplete.
where So, in order to construct vertical line you need to create horizontal vector, and both new Line(new Point(10, 10), new Vector(-1, 0)) and new Line(new Point(10, 10), new Vector(1, 0)) are constructors for same vertical line. You also have an option to construct line that pass through two points, like this: new Line(new Point(10, 10), new Point(10,20)) |
Thank you for explanation |
Hello, I'm trying to figure out why
Flatten.Line
hasnorm
vector which is 90 CCW from original vector? It was surprise for me that to build vertical line code should be NOTit should be
instead. In docs it says just
norm - normal vector to a line
, nothing about 90 CCW.Thanks great lib.
The text was updated successfully, but these errors were encountered: