How to find dimensions of partial circle (“arc”) of a given angle
$begingroup$
I tried to draw this to make it hopefully more straightforward to understand.
So here is an angle drawn that demonstrates a small rounded corner:
The bounds of the rounded corner can be drawn like this:
Specifically, what's happening is this. There are two lines that join together at the rounded corner. The corner is an arc, or a "part of a circle" (not sure the correct terminology). It's not an ellipse or an arbitrary shape. The corner is just a segment of a circle connecting to lines that are coming together into the "rounded corner".
The pink circle in this next image shows how you can complete the drawing of the rounded corner into a complete circle:
The only other piece of information I can gather from this diagram is that there's an angle, like here:
So the question is: how to determine the dimensions of this arc (given that we define an arc as a segment of a circle), given two lines that are joined at a specific angle. Specifically, the question is looking for how to solve for:
- radius of the circle
- segment edge length (or some chunk amount of the crust of the circle)
- orientation of the arc
There can be different orientations, as in this image:
Many different radii:
And there can be many different "segment edge lengths"
Sorry for all the images, I would've tried to draw it in tikz but it's not supported.
But the question is, how to calculate those 3 properties given 2 lines intersecting at an angle. Basically, I would like to know how to smoothly join two lines that are coming together at an angle so there's no crease, but also make it so the join is a semi circle of some sort, not an arbitrary curve.
trigonometry circles
$endgroup$
add a comment |
$begingroup$
I tried to draw this to make it hopefully more straightforward to understand.
So here is an angle drawn that demonstrates a small rounded corner:
The bounds of the rounded corner can be drawn like this:
Specifically, what's happening is this. There are two lines that join together at the rounded corner. The corner is an arc, or a "part of a circle" (not sure the correct terminology). It's not an ellipse or an arbitrary shape. The corner is just a segment of a circle connecting to lines that are coming together into the "rounded corner".
The pink circle in this next image shows how you can complete the drawing of the rounded corner into a complete circle:
The only other piece of information I can gather from this diagram is that there's an angle, like here:
So the question is: how to determine the dimensions of this arc (given that we define an arc as a segment of a circle), given two lines that are joined at a specific angle. Specifically, the question is looking for how to solve for:
- radius of the circle
- segment edge length (or some chunk amount of the crust of the circle)
- orientation of the arc
There can be different orientations, as in this image:
Many different radii:
And there can be many different "segment edge lengths"
Sorry for all the images, I would've tried to draw it in tikz but it's not supported.
But the question is, how to calculate those 3 properties given 2 lines intersecting at an angle. Basically, I would like to know how to smoothly join two lines that are coming together at an angle so there's no crease, but also make it so the join is a semi circle of some sort, not an arbitrary curve.
trigonometry circles
$endgroup$
add a comment |
$begingroup$
I tried to draw this to make it hopefully more straightforward to understand.
So here is an angle drawn that demonstrates a small rounded corner:
The bounds of the rounded corner can be drawn like this:
Specifically, what's happening is this. There are two lines that join together at the rounded corner. The corner is an arc, or a "part of a circle" (not sure the correct terminology). It's not an ellipse or an arbitrary shape. The corner is just a segment of a circle connecting to lines that are coming together into the "rounded corner".
The pink circle in this next image shows how you can complete the drawing of the rounded corner into a complete circle:
The only other piece of information I can gather from this diagram is that there's an angle, like here:
So the question is: how to determine the dimensions of this arc (given that we define an arc as a segment of a circle), given two lines that are joined at a specific angle. Specifically, the question is looking for how to solve for:
- radius of the circle
- segment edge length (or some chunk amount of the crust of the circle)
- orientation of the arc
There can be different orientations, as in this image:
Many different radii:
And there can be many different "segment edge lengths"
Sorry for all the images, I would've tried to draw it in tikz but it's not supported.
But the question is, how to calculate those 3 properties given 2 lines intersecting at an angle. Basically, I would like to know how to smoothly join two lines that are coming together at an angle so there's no crease, but also make it so the join is a semi circle of some sort, not an arbitrary curve.
trigonometry circles
$endgroup$
I tried to draw this to make it hopefully more straightforward to understand.
So here is an angle drawn that demonstrates a small rounded corner:
The bounds of the rounded corner can be drawn like this:
Specifically, what's happening is this. There are two lines that join together at the rounded corner. The corner is an arc, or a "part of a circle" (not sure the correct terminology). It's not an ellipse or an arbitrary shape. The corner is just a segment of a circle connecting to lines that are coming together into the "rounded corner".
The pink circle in this next image shows how you can complete the drawing of the rounded corner into a complete circle:
The only other piece of information I can gather from this diagram is that there's an angle, like here:
So the question is: how to determine the dimensions of this arc (given that we define an arc as a segment of a circle), given two lines that are joined at a specific angle. Specifically, the question is looking for how to solve for:
- radius of the circle
- segment edge length (or some chunk amount of the crust of the circle)
- orientation of the arc
There can be different orientations, as in this image:
Many different radii:
And there can be many different "segment edge lengths"
Sorry for all the images, I would've tried to draw it in tikz but it's not supported.
But the question is, how to calculate those 3 properties given 2 lines intersecting at an angle. Basically, I would like to know how to smoothly join two lines that are coming together at an angle so there's no crease, but also make it so the join is a semi circle of some sort, not an arbitrary curve.
trigonometry circles
trigonometry circles
edited Jan 11 at 4:29
Lance Pollard
asked Jan 11 at 4:23
Lance PollardLance Pollard
1,375926
1,375926
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
Given points $A$ and $B$ on the rays and point $C$ their intersection: find unit vectors $a=frac{A-C}{|A-C|}$ and $b=frac{B-C}{|B-C|}$. Add these two together $c=a+b$ and we find a vector that bisects the opening of the intersection, though it's not a terribly useful size yet.
What we aim to do is find a $c'$ such that it stands off from both $a$ and $b$ by exactly $1$, so we must find out how much it does so now, and divide $c$ by that. For this we can use the law of cosines: we have a triangle with vectors $a,b,c$ and we wish to get angle information from it.
$$begin{align}
c^2&=a^2+b^2-2ab cos gamma\
|c|^2&=1^2+1^2-2(1)(1)cosgamma\
cosgamma&=frac{|c|^2-2}{2}
end{align}$$
$$begin{align}
h&=singamma\
&=sqrt{1-cos^2gamma}\
&=sqrt{1-left(frac{|c|^2-2}{2}right)^2}\
end {align}$$
Now, $c'=c/h$; we also may need to scale $a$ and $b$, and the scaling factor there is $s=sqrt{|c'|^2-1}$, being the leg of a right triangle with $c'$ as the hypotenuse.
Now all we have to do is scale this by our chosen radius and find these points in the space of our original points, which is easy: the center is at $C+c'r$, and the circle meets the rays at $C+asr$ and $C+bsr$.
$endgroup$
add a comment |
$begingroup$
The center of the circle will be on the bisector of the angle. You can choose any radius of the circle you like. As you don't indicate what form you have the lines in I can't give a formula. If you want the radius to be $r$, you can construct new lines parallel to the old ones and offset into the angle by $r$. The intersection point will be the center of the circle. Find the intersection of this circle with your lines and that is where to change the path from line to circle to line.
$endgroup$
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3069475%2fhow-to-find-dimensions-of-partial-circle-arc-of-a-given-angle%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Given points $A$ and $B$ on the rays and point $C$ their intersection: find unit vectors $a=frac{A-C}{|A-C|}$ and $b=frac{B-C}{|B-C|}$. Add these two together $c=a+b$ and we find a vector that bisects the opening of the intersection, though it's not a terribly useful size yet.
What we aim to do is find a $c'$ such that it stands off from both $a$ and $b$ by exactly $1$, so we must find out how much it does so now, and divide $c$ by that. For this we can use the law of cosines: we have a triangle with vectors $a,b,c$ and we wish to get angle information from it.
$$begin{align}
c^2&=a^2+b^2-2ab cos gamma\
|c|^2&=1^2+1^2-2(1)(1)cosgamma\
cosgamma&=frac{|c|^2-2}{2}
end{align}$$
$$begin{align}
h&=singamma\
&=sqrt{1-cos^2gamma}\
&=sqrt{1-left(frac{|c|^2-2}{2}right)^2}\
end {align}$$
Now, $c'=c/h$; we also may need to scale $a$ and $b$, and the scaling factor there is $s=sqrt{|c'|^2-1}$, being the leg of a right triangle with $c'$ as the hypotenuse.
Now all we have to do is scale this by our chosen radius and find these points in the space of our original points, which is easy: the center is at $C+c'r$, and the circle meets the rays at $C+asr$ and $C+bsr$.
$endgroup$
add a comment |
$begingroup$
Given points $A$ and $B$ on the rays and point $C$ their intersection: find unit vectors $a=frac{A-C}{|A-C|}$ and $b=frac{B-C}{|B-C|}$. Add these two together $c=a+b$ and we find a vector that bisects the opening of the intersection, though it's not a terribly useful size yet.
What we aim to do is find a $c'$ such that it stands off from both $a$ and $b$ by exactly $1$, so we must find out how much it does so now, and divide $c$ by that. For this we can use the law of cosines: we have a triangle with vectors $a,b,c$ and we wish to get angle information from it.
$$begin{align}
c^2&=a^2+b^2-2ab cos gamma\
|c|^2&=1^2+1^2-2(1)(1)cosgamma\
cosgamma&=frac{|c|^2-2}{2}
end{align}$$
$$begin{align}
h&=singamma\
&=sqrt{1-cos^2gamma}\
&=sqrt{1-left(frac{|c|^2-2}{2}right)^2}\
end {align}$$
Now, $c'=c/h$; we also may need to scale $a$ and $b$, and the scaling factor there is $s=sqrt{|c'|^2-1}$, being the leg of a right triangle with $c'$ as the hypotenuse.
Now all we have to do is scale this by our chosen radius and find these points in the space of our original points, which is easy: the center is at $C+c'r$, and the circle meets the rays at $C+asr$ and $C+bsr$.
$endgroup$
add a comment |
$begingroup$
Given points $A$ and $B$ on the rays and point $C$ their intersection: find unit vectors $a=frac{A-C}{|A-C|}$ and $b=frac{B-C}{|B-C|}$. Add these two together $c=a+b$ and we find a vector that bisects the opening of the intersection, though it's not a terribly useful size yet.
What we aim to do is find a $c'$ such that it stands off from both $a$ and $b$ by exactly $1$, so we must find out how much it does so now, and divide $c$ by that. For this we can use the law of cosines: we have a triangle with vectors $a,b,c$ and we wish to get angle information from it.
$$begin{align}
c^2&=a^2+b^2-2ab cos gamma\
|c|^2&=1^2+1^2-2(1)(1)cosgamma\
cosgamma&=frac{|c|^2-2}{2}
end{align}$$
$$begin{align}
h&=singamma\
&=sqrt{1-cos^2gamma}\
&=sqrt{1-left(frac{|c|^2-2}{2}right)^2}\
end {align}$$
Now, $c'=c/h$; we also may need to scale $a$ and $b$, and the scaling factor there is $s=sqrt{|c'|^2-1}$, being the leg of a right triangle with $c'$ as the hypotenuse.
Now all we have to do is scale this by our chosen radius and find these points in the space of our original points, which is easy: the center is at $C+c'r$, and the circle meets the rays at $C+asr$ and $C+bsr$.
$endgroup$
Given points $A$ and $B$ on the rays and point $C$ their intersection: find unit vectors $a=frac{A-C}{|A-C|}$ and $b=frac{B-C}{|B-C|}$. Add these two together $c=a+b$ and we find a vector that bisects the opening of the intersection, though it's not a terribly useful size yet.
What we aim to do is find a $c'$ such that it stands off from both $a$ and $b$ by exactly $1$, so we must find out how much it does so now, and divide $c$ by that. For this we can use the law of cosines: we have a triangle with vectors $a,b,c$ and we wish to get angle information from it.
$$begin{align}
c^2&=a^2+b^2-2ab cos gamma\
|c|^2&=1^2+1^2-2(1)(1)cosgamma\
cosgamma&=frac{|c|^2-2}{2}
end{align}$$
$$begin{align}
h&=singamma\
&=sqrt{1-cos^2gamma}\
&=sqrt{1-left(frac{|c|^2-2}{2}right)^2}\
end {align}$$
Now, $c'=c/h$; we also may need to scale $a$ and $b$, and the scaling factor there is $s=sqrt{|c'|^2-1}$, being the leg of a right triangle with $c'$ as the hypotenuse.
Now all we have to do is scale this by our chosen radius and find these points in the space of our original points, which is easy: the center is at $C+c'r$, and the circle meets the rays at $C+asr$ and $C+bsr$.
edited Jan 11 at 16:09
answered Jan 11 at 7:09
Dan UznanskiDan Uznanski
7,21321529
7,21321529
add a comment |
add a comment |
$begingroup$
The center of the circle will be on the bisector of the angle. You can choose any radius of the circle you like. As you don't indicate what form you have the lines in I can't give a formula. If you want the radius to be $r$, you can construct new lines parallel to the old ones and offset into the angle by $r$. The intersection point will be the center of the circle. Find the intersection of this circle with your lines and that is where to change the path from line to circle to line.
$endgroup$
add a comment |
$begingroup$
The center of the circle will be on the bisector of the angle. You can choose any radius of the circle you like. As you don't indicate what form you have the lines in I can't give a formula. If you want the radius to be $r$, you can construct new lines parallel to the old ones and offset into the angle by $r$. The intersection point will be the center of the circle. Find the intersection of this circle with your lines and that is where to change the path from line to circle to line.
$endgroup$
add a comment |
$begingroup$
The center of the circle will be on the bisector of the angle. You can choose any radius of the circle you like. As you don't indicate what form you have the lines in I can't give a formula. If you want the radius to be $r$, you can construct new lines parallel to the old ones and offset into the angle by $r$. The intersection point will be the center of the circle. Find the intersection of this circle with your lines and that is where to change the path from line to circle to line.
$endgroup$
The center of the circle will be on the bisector of the angle. You can choose any radius of the circle you like. As you don't indicate what form you have the lines in I can't give a formula. If you want the radius to be $r$, you can construct new lines parallel to the old ones and offset into the angle by $r$. The intersection point will be the center of the circle. Find the intersection of this circle with your lines and that is where to change the path from line to circle to line.
answered Jan 11 at 4:38
Ross MillikanRoss Millikan
301k24200375
301k24200375
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3069475%2fhow-to-find-dimensions-of-partial-circle-arc-of-a-given-angle%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown