plot of 3d arc

I have three points describing an arc of a circle in three-dimensions.
  • center point p0=(x0,y0,z0)
  • starting point p1=(x1,y1,z1)
  • end point p2=(x2,y2,z2)
I want plot the arc for
  • case where I know (x0,y0,z0, x1,y1,z1, x2,y2,z2)
  • case where I know (x0,y0,z0, x1,y1,z1, z2) unknown is (x2 y2)

답변 (1개)

Doug Hull
Doug Hull 2012년 3월 27일

0 개 추천

Once you know representative points on the arc, you can use
plot3(x,y,z)
The tricky bit is generating the vectors x,y,z.
Knowing only the z value for an end point leaves the problem undefined. Actually, even where you know the endpoints entirely, there are two arcs.

댓글 수: 1

satish sahu
satish sahu 2012년 3월 28일
thanks for comment..
but I am unable to find the equation of arc and representative point on arc...
can u help me to find the representative point of arc .

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Numerical Integration and Differential Equations에 대해 자세히 알아보기

태그

질문:

2012년 3월 27일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by