How to find an intersection between a normal that goes through a vertex and 2 polylines that are on the sides of the polyline containing that vertex?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
This is a little hard to explain, so let's start with a picture:
What I need to do is to find x,y coordinates of the points R1 and R2.
Coordinates of every other point are known.
I am trying to implement this in C#, so the optimal solution would be a function that takes x,y coordinates of known points and calculates x,y coordinates of the unknown points. I tried to combine several methods to solve this, but I failed.
note: there can be a case when the angle α/2 is 90°
geometry analytic-geometry
add a comment |Â
up vote
0
down vote
favorite
This is a little hard to explain, so let's start with a picture:
What I need to do is to find x,y coordinates of the points R1 and R2.
Coordinates of every other point are known.
I am trying to implement this in C#, so the optimal solution would be a function that takes x,y coordinates of known points and calculates x,y coordinates of the unknown points. I tried to combine several methods to solve this, but I failed.
note: there can be a case when the angle α/2 is 90°
geometry analytic-geometry
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
This is a little hard to explain, so let's start with a picture:
What I need to do is to find x,y coordinates of the points R1 and R2.
Coordinates of every other point are known.
I am trying to implement this in C#, so the optimal solution would be a function that takes x,y coordinates of known points and calculates x,y coordinates of the unknown points. I tried to combine several methods to solve this, but I failed.
note: there can be a case when the angle α/2 is 90°
geometry analytic-geometry
This is a little hard to explain, so let's start with a picture:
What I need to do is to find x,y coordinates of the points R1 and R2.
Coordinates of every other point are known.
I am trying to implement this in C#, so the optimal solution would be a function that takes x,y coordinates of known points and calculates x,y coordinates of the unknown points. I tried to combine several methods to solve this, but I failed.
note: there can be a case when the angle α/2 is 90°
geometry analytic-geometry
asked Jul 30 at 13:33
zoran
101
101
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
Write the implicit equations of the lines $AB$ and $BC$, in the form $ax+by+c=0$, where the coefficients are normalized so that $a^2+b^2=1$. Then add the two equations to get the equation of the bissectrix.
You will find the intersecting segments by plugging the endpoint coordinates in that equation and observing a change of sign.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Write the implicit equations of the lines $AB$ and $BC$, in the form $ax+by+c=0$, where the coefficients are normalized so that $a^2+b^2=1$. Then add the two equations to get the equation of the bissectrix.
You will find the intersecting segments by plugging the endpoint coordinates in that equation and observing a change of sign.
add a comment |Â
up vote
0
down vote
Write the implicit equations of the lines $AB$ and $BC$, in the form $ax+by+c=0$, where the coefficients are normalized so that $a^2+b^2=1$. Then add the two equations to get the equation of the bissectrix.
You will find the intersecting segments by plugging the endpoint coordinates in that equation and observing a change of sign.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Write the implicit equations of the lines $AB$ and $BC$, in the form $ax+by+c=0$, where the coefficients are normalized so that $a^2+b^2=1$. Then add the two equations to get the equation of the bissectrix.
You will find the intersecting segments by plugging the endpoint coordinates in that equation and observing a change of sign.
Write the implicit equations of the lines $AB$ and $BC$, in the form $ax+by+c=0$, where the coefficients are normalized so that $a^2+b^2=1$. Then add the two equations to get the equation of the bissectrix.
You will find the intersecting segments by plugging the endpoint coordinates in that equation and observing a change of sign.
answered Jul 30 at 13:44
Yves Daoust
110k665203
110k665203
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2867021%2fhow-to-find-an-intersection-between-a-normal-that-goes-through-a-vertex-and-2-po%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password