How to get circle points in 3d given a radius and a vector orthogonal to the circle area?
$begingroup$
I already know how to get a point on a circle (here), but I need a circle in 3d which should be the orthogonal to a given vector.
I got:
- Angle in degree/radians
- Circle radius
- Orthogonal vector
I think, I need to rotate the 2d circle positions to be orthogonal to the given vector, but I do not how how to do that.
vectors circle 3d
$endgroup$
add a comment |
$begingroup$
I already know how to get a point on a circle (here), but I need a circle in 3d which should be the orthogonal to a given vector.
I got:
- Angle in degree/radians
- Circle radius
- Orthogonal vector
I think, I need to rotate the 2d circle positions to be orthogonal to the given vector, but I do not how how to do that.
vectors circle 3d
$endgroup$
$begingroup$
What does the given angle specify? Where is the center of the circle? What kind of result do you expect/need?
$endgroup$
– coproc
Aug 17 '15 at 6:55
$begingroup$
The angle is the angle on the circle needing to calculate a point on the circle in 2d. The result should be a 3d point (x,y,z). The center of the circle should be at (0,0,0).
$endgroup$
– Janmm14
Aug 21 '15 at 14:00
add a comment |
$begingroup$
I already know how to get a point on a circle (here), but I need a circle in 3d which should be the orthogonal to a given vector.
I got:
- Angle in degree/radians
- Circle radius
- Orthogonal vector
I think, I need to rotate the 2d circle positions to be orthogonal to the given vector, but I do not how how to do that.
vectors circle 3d
$endgroup$
I already know how to get a point on a circle (here), but I need a circle in 3d which should be the orthogonal to a given vector.
I got:
- Angle in degree/radians
- Circle radius
- Orthogonal vector
I think, I need to rotate the 2d circle positions to be orthogonal to the given vector, but I do not how how to do that.
vectors circle 3d
vectors circle 3d
asked Aug 14 '15 at 8:40
Janmm14Janmm14
62
62
$begingroup$
What does the given angle specify? Where is the center of the circle? What kind of result do you expect/need?
$endgroup$
– coproc
Aug 17 '15 at 6:55
$begingroup$
The angle is the angle on the circle needing to calculate a point on the circle in 2d. The result should be a 3d point (x,y,z). The center of the circle should be at (0,0,0).
$endgroup$
– Janmm14
Aug 21 '15 at 14:00
add a comment |
$begingroup$
What does the given angle specify? Where is the center of the circle? What kind of result do you expect/need?
$endgroup$
– coproc
Aug 17 '15 at 6:55
$begingroup$
The angle is the angle on the circle needing to calculate a point on the circle in 2d. The result should be a 3d point (x,y,z). The center of the circle should be at (0,0,0).
$endgroup$
– Janmm14
Aug 21 '15 at 14:00
$begingroup$
What does the given angle specify? Where is the center of the circle? What kind of result do you expect/need?
$endgroup$
– coproc
Aug 17 '15 at 6:55
$begingroup$
What does the given angle specify? Where is the center of the circle? What kind of result do you expect/need?
$endgroup$
– coproc
Aug 17 '15 at 6:55
$begingroup$
The angle is the angle on the circle needing to calculate a point on the circle in 2d. The result should be a 3d point (x,y,z). The center of the circle should be at (0,0,0).
$endgroup$
– Janmm14
Aug 21 '15 at 14:00
$begingroup$
The angle is the angle on the circle needing to calculate a point on the circle in 2d. The result should be a 3d point (x,y,z). The center of the circle should be at (0,0,0).
$endgroup$
– Janmm14
Aug 21 '15 at 14:00
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
Let us denote the angle by $theta$, the radius by $r$ and the orthogonal vector by $vec a$ ("axis"); furthermore let us assume the length of $vec a$ is 1.
First you must define which point is defined by $theta=0$. If $vec a$ is not parallel to the $xy$-plane then there is a unique vector $vec v_0 = (x_0, 0, z_0)$ orthogonal to $vec a$ with length $r$ and $x_0 > 0$. (Otherwise you need a different choice for $vec v_0$. In 3D there is no obvious way to define such a $vec v_0$ for any $vec a$.)
Then all you need to do is rotate the vector $vec v_0$ around $vec a$ by the angle $theta$. The formula is:
$$ cos theta vec v_0 + (1-cos theta)(vec a cdot vec v_0)vec a + sin theta vec a times vec v_0$$
$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%2f1396824%2fhow-to-get-circle-points-in-3d-given-a-radius-and-a-vector-orthogonal-to-the-cir%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Let us denote the angle by $theta$, the radius by $r$ and the orthogonal vector by $vec a$ ("axis"); furthermore let us assume the length of $vec a$ is 1.
First you must define which point is defined by $theta=0$. If $vec a$ is not parallel to the $xy$-plane then there is a unique vector $vec v_0 = (x_0, 0, z_0)$ orthogonal to $vec a$ with length $r$ and $x_0 > 0$. (Otherwise you need a different choice for $vec v_0$. In 3D there is no obvious way to define such a $vec v_0$ for any $vec a$.)
Then all you need to do is rotate the vector $vec v_0$ around $vec a$ by the angle $theta$. The formula is:
$$ cos theta vec v_0 + (1-cos theta)(vec a cdot vec v_0)vec a + sin theta vec a times vec v_0$$
$endgroup$
add a comment |
$begingroup$
Let us denote the angle by $theta$, the radius by $r$ and the orthogonal vector by $vec a$ ("axis"); furthermore let us assume the length of $vec a$ is 1.
First you must define which point is defined by $theta=0$. If $vec a$ is not parallel to the $xy$-plane then there is a unique vector $vec v_0 = (x_0, 0, z_0)$ orthogonal to $vec a$ with length $r$ and $x_0 > 0$. (Otherwise you need a different choice for $vec v_0$. In 3D there is no obvious way to define such a $vec v_0$ for any $vec a$.)
Then all you need to do is rotate the vector $vec v_0$ around $vec a$ by the angle $theta$. The formula is:
$$ cos theta vec v_0 + (1-cos theta)(vec a cdot vec v_0)vec a + sin theta vec a times vec v_0$$
$endgroup$
add a comment |
$begingroup$
Let us denote the angle by $theta$, the radius by $r$ and the orthogonal vector by $vec a$ ("axis"); furthermore let us assume the length of $vec a$ is 1.
First you must define which point is defined by $theta=0$. If $vec a$ is not parallel to the $xy$-plane then there is a unique vector $vec v_0 = (x_0, 0, z_0)$ orthogonal to $vec a$ with length $r$ and $x_0 > 0$. (Otherwise you need a different choice for $vec v_0$. In 3D there is no obvious way to define such a $vec v_0$ for any $vec a$.)
Then all you need to do is rotate the vector $vec v_0$ around $vec a$ by the angle $theta$. The formula is:
$$ cos theta vec v_0 + (1-cos theta)(vec a cdot vec v_0)vec a + sin theta vec a times vec v_0$$
$endgroup$
Let us denote the angle by $theta$, the radius by $r$ and the orthogonal vector by $vec a$ ("axis"); furthermore let us assume the length of $vec a$ is 1.
First you must define which point is defined by $theta=0$. If $vec a$ is not parallel to the $xy$-plane then there is a unique vector $vec v_0 = (x_0, 0, z_0)$ orthogonal to $vec a$ with length $r$ and $x_0 > 0$. (Otherwise you need a different choice for $vec v_0$. In 3D there is no obvious way to define such a $vec v_0$ for any $vec a$.)
Then all you need to do is rotate the vector $vec v_0$ around $vec a$ by the angle $theta$. The formula is:
$$ cos theta vec v_0 + (1-cos theta)(vec a cdot vec v_0)vec a + sin theta vec a times vec v_0$$
answered Aug 21 '15 at 18:20
coproccoproc
977514
977514
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%2f1396824%2fhow-to-get-circle-points-in-3d-given-a-radius-and-a-vector-orthogonal-to-the-cir%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
$begingroup$
What does the given angle specify? Where is the center of the circle? What kind of result do you expect/need?
$endgroup$
– coproc
Aug 17 '15 at 6:55
$begingroup$
The angle is the angle on the circle needing to calculate a point on the circle in 2d. The result should be a 3d point (x,y,z). The center of the circle should be at (0,0,0).
$endgroup$
– Janmm14
Aug 21 '15 at 14:00