PmCircle structure parameter definition( rTan , rPerp and rHelix)

More
5 years 7 months ago #202557 by mil818
/* Generalized circle structure */

typedef struct {
PmCartesian center;
PmCartesian normal;
PmCartesian rTan;
PmCartesian rPerp;
PmCartesian rHelix;
double radius;
double angle;
double spiral;

} PmCircle;

My question is that :
1 . what means are parameter rTan , rPerp and rHelix ?
2. Are there has a figure that could show them clearly ?

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #202696 by andypugh
There seems to be some clues here:
github.com/LinuxCNC/linuxcnc/blob/43ac97...th/_posemath.c#L1726

But it also appears that whilst rHelix is used, rTan and rPerp are not.

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #202709 by mil818
/* vector in plane of circle from center to start, magnitude radius */
pmCartCartSub(start, &circle->center, &circle->rTan);

My understanding is that rTan is the vector from center to start point.

/* vector in plane of circle perpendicular to rTan, magnitude radius */
pmCartCartCross(&circle->normal, &circle->rTan, &circle->rPerp);

circle->normal is normal of circle,where is its exact position in one circle plane ? circle->rPerp is cross production between circle->normal and circle->rTan vector. For linuxcnc, do we have original description for this definition by figure.

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #202788 by mil818
I draw a circle and add one rTan vector,but I don't know where is normal vector and rPerp vector ? who could please tell me about it ?

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #202913 by andypugh
Out of interest, why are you wanting to understand all of this stuff?

What is your application? Or is it just curiosity?

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #203183 by mil818
Hi,Mr
Thank you for your warm reply.
If I don't understand it clearly it will be a black box to me and I could not optimize it in the next step.
Anyway, it is the first step to know its algorithm that is related to math.

Please Log in or Create an account to join the conversation.

Time to create page: 0.353 seconds
Powered by Kunena Forum