[vtkusers] vtkMath::Perpendiculars...

David Doria daviddoria+vtk at gmail.com
Wed Mar 10 10:48:18 EST 2010


On Mon, Mar 8, 2010 at 10:04 AM, David Gobbi <david.gobbi at gmail.com> wrote:

> Hi Rakesh,
>
> It is used in cases where you have one vector, and need to find an
> arbitrary vector that is perpendicular to it.
>
> The idea behind this is that when you have one vector, there are an
> infinite number of vectors that are perpendicular that vector, so you
> need to supply an additional constraint (the angle "theta") to specify
> which perpendicular vector you want.
>
> This is in contrast to the case where you have two vectors and need to
> find a third that is perpendicular to the first two, in which case you
> can just use a cross product.
>
>   David
>

I have nothing to add, David G's explanation was perfect, but here is a
demonstration:
http://www.vtk.org/Wiki/VTK/Examples/PerpendicularVector

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100310/b4063a5a/attachment.htm>


More information about the vtkusers mailing list