I have N points in [x,y,z]
and this kind of takes a helix shape. Is it possible to find the central axis of such a helix. This is not a regular helix with the central axis as either of global X, Y and Z axis
When I plot the curve looks at a particular angle to the global Z axis
.
My aim is to know the angle the central axis is making with the global z axis
?
If your N points are dense enough (or equi-distant), the tangential vectors (diff vectors of consecutive points) will form a cone whose direction of the center axis coincides with direction of the helix axis and whose base plane is orthogonal to this axis direction. A projection of the helix into this normal plane will give a circle with a center on the helix axis.