Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
2.1k views
in Technique[技术] by (71.8m points)

math - Equation of a helix parametrized by arc length between two points in space

What is the equation of a helix parametrized by arc length (i.e. a function of arc length) between any two points in space? Is there any function for this ? How do i implement the same using matlab or mathematica ?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

just to add to Mitch Wheat's answer, helices are not unique; for a given axis, the degrees of freedom are distance between turns, radius, and phase (P, A, and phi below)

if you generalize to

w = 2*pi/P
r(t) = (A cos (wt-phi)) i + (A sin (wt-phi)) j + (t) k

then one way to analyze the arclength as a function of t (without having to compute the arclength integral explicitly) is to realize that the magnitude of velocity is constant; the component of velocity parallel to the radius is 0, the component of velocity parallel to the axis is 1, the component of velocity perpendicular to both radius and axis is Aw, so therefore the magnitude of velocity is speed = sqrt(1 + A2w2), => arclength s = sqrt(1 + A2w2)t

You'd need some way of defining the axis, P, A and phi as a function of whatever inputs you are given. Just the endpoints and arclength wouldn't be enough.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

57.0k users

...