How we can draw markers (or perpendiculars) on any 3D Line.

Hi,

I guess what you want to do is to compute the crossproduct of the vector pointing from V1 to V2 and then move the new vector to the middle of your line.

At least this is how I understood what you are trying to do. It helps if you point out a little bit more precise what you want to do!!!

Cheers,

Martin

To get the perpendicular to any line use the cross product of it and another line that is not parallel to it. If you want the perpendicular to lie in a given plane take the cross product of the line and the plane’s normal. To draw it choose a point on the line and draw from there to some other point on the perpendicular line.

Hi

Thank u for ur inputs

Actually, I was to make x,y,z axis and want to draw markers on each axis. so what to do exactly?

-Porsgl

Originally posted by mphanke:

[b]Hi,

I guess what you want to do is to compute the crossproduct of the vector pointing from V1 to V2 and then move the new vector to the middle of your line.

At least this is how I understood what you are trying to do. It helps if you point out a little bit more precise what you want to do!!!

Cheers,

Martin[/b]