How to draw circle in a 3D space?
Sie verfolgen jetzt diese Frage
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
Es ist ein Fehler aufgetreten
Da Änderungen an der Seite vorgenommen wurden, kann diese Aktion nicht abgeschlossen werden. Laden Sie die Seite neu, um sie im aktualisierten Zustand anzuzeigen.
0 Stimmen
Teilen Sie einen Link zu dieser Frage

- Using line P1P5 as the diameter
- Using the mid point of line P1P5 as the center
- P6 and P8 are points only used for deciding the location of the planes, P6 and P8 does not necessarily need to be contained in the circles. They could be outside of the circles.
Akzeptierte Antwort
0 Stimmen
Teilen Sie einen Link zu dieser Antwort
https://de.mathworks.com/matlabcentral/answers/481689-how-to-draw-circle-in-a-3d-space#answer_393123
10 Kommentare
Teilen Sie einen Link zu diesem Kommentar
Teilen Sie einen Link zu diesem Kommentar
Teilen Sie einen Link zu diesem Kommentar







- I guess the sizes of red circle and green circle won't be the same (different radius values)?
- Why do we need the green circle in order to draw the red circle?
- Why do we need v1 = cross(P6 - P1, P5 - P1); and why do we need to move the center using quiver3(C0(1),C0(2), C0(3), v1(1), v1(2), v1(3))?
- About the rotationMatrix function you wrote, R = rotationMatrix(P0,Pz,Px) INPUT: 'P0': system origin; 'Pz': point on z-axis; 'Px': point on x-axis; R1 = rotationMatrix(C0, C0 + v1, P5); why Pz = C0 + v1 and why Px = P5?
- What is the equation of the red circle? Pc1 = P*R1' + C0? What is the equation of the red circle in terms of variables R G B? Because the purpose of this whole thing is trying to select points that are evenly distributed on the circumpherence of this red circle.
Teilen Sie einen Link zu diesem Kommentar

Teilen Sie einen Link zu diesem Kommentar
Teilen Sie einen Link zu diesem Kommentar
- the origin O' is in C0 (P0 = C0)
- the z' axis is along the v1 vector. Accordingly, a point along z' is Pz = C0+v1
- the x' and y' axes are on the plane orthogonal to v1. In this case the position of the x' axis is not important; for simplicity I decided to align x' with the line passing from P5-C0, so a point along the x' axis is Px = P5;
Teilen Sie einen Link zu diesem Kommentar
- x' and y' are in the same plane as the red circle while axis x' is perpendicular to axis y'.
- z' is orthogonal to plane x'y'.
Teilen Sie einen Link zu diesem Kommentar
Teilen Sie einen Link zu diesem Kommentar
Teilen Sie einen Link zu diesem Kommentar
Weitere Antworten (1)
0 Stimmen
Teilen Sie einen Link zu dieser Antwort
https://de.mathworks.com/matlabcentral/answers/481689-how-to-draw-circle-in-a-3d-space#answer_393155
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Hilfe-Center und File Exchange
Tags
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.
Amerika
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
