PDA

View Full Version : Markers on lines



porsgl
05-11-2002, 02:30 AM
How we can draw markers (or perpendiculars) on any 3D Line.

mphanke
05-12-2002, 03:54 AM
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

Furrage
05-13-2002, 05:23 AM
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.

porsgl
05-14-2002, 05:18 AM
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:
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