POV-Ray : Newsgroups : povray.bugreports : just a bug in the documentation! Server Time
31 Oct 2024 16:14:28 EDT (-0400)
  just a bug in the documentation! (Message 1 to 3 of 3)  
From: Uwe Zimmermann
Subject: just a bug in the documentation!
Date: 9 Jul 1999 03:25:48
Message: <3785A3FB.B59AD46A@ele.kth.se>
Hej POV team!

I don't want to mess up your time while heading for 3.5, but yesterday I
stumbled over a little bug in the POVray documentation (Win-Help file
v3.1e, put perhaps elsewhere as well):

 -it says under 'vector functions':

  vcross(A,B) Cross product of A and B. Returns a vector that is the
vector cross product of the two vectors. The resulting vector is
perpendicular to the two original vectors and its length is proportional
to the angle between them. See the animated demo scene VECT2.POV for an
illustration. 
  
 -while it should say:

  vcross(A,B) Cross product of A and B. Returns a vector that is the
vector cross product of the two vectors. The resulting vector is
perpendicular to the two original vectors and its length is equal to the
area of the paralleogram defined by them. See the animated demo scene
VECT2.POV for an illustration. 

and just a proposal for a better formulation:

 -it says under 'float functions':

  vdot(V1,V2) Dot product of V1 and V2. Returns a float value that is
the dot product (sometimes called scalar product of V1 with V2. Formula
is vdot=V1.x*V2.x + V1.y*V2.y + V1.z*V2.z. See the animated demo scene
VECT2.POV for an illustration. 

 -it's completely ok, but it might be better this way:

  vdot(V1,V2) Dot product of V1 and V2. Returns a float value that is
the dot product (sometimes called scalar product) of V1 with V2. It is
directly proportional to the length of the two vectors and the cosine of
the angle between them. Formula is vdot=V1.x*V2.x + V1.y*V2.y +
V1.z*V2.z. See the animated demo scene VECT2.POV for an illustration. 


Uwe.


Post a reply to this message

From: Nieminen Mika
Subject: Re: just a bug in the documentation!
Date: 9 Jul 1999 03:44:36
Message: <3785a864@news.povray.org>
Uwe Zimmermann <uwe### [at] elekthse> wrote:
:  -it says under 'vector functions':

:   vcross(A,B) Cross product of A and B. Returns a vector that is the
: vector cross product of the two vectors. The resulting vector is
: perpendicular to the two original vectors and its length is proportional
: to the angle between them. See the animated demo scene VECT2.POV for an
: illustration. 
:   
:  -while it should say:

:   vcross(A,B) Cross product of A and B. Returns a vector that is the
: vector cross product of the two vectors. The resulting vector is
: perpendicular to the two original vectors and its length is equal to the
: area of the paralleogram defined by them. See the animated demo scene
: VECT2.POV for an illustration. 

  Your definition is absolutely right, but the original definition is too.
  Cross product can also be formulated as:

  AxB = |A| * |B| * sin(angle(A,B)) * perpendicular_unit_vector(A,B)

  So the length is proportional to the angle between them.
  Perhaps it should have a better wording, though.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Uwe Zimmermann
Subject: Re: just a bug in the documentation!
Date: 9 Jul 1999 04:01:27
Message: <3785AC56.941DEA65@ele.kth.se>
Nieminen Mika wrote:

>   Your definition is absolutely right, but the original definition is too.
>   Cross product can also be formulated as:
> 
>   AxB = |A| * |B| * sin(angle(A,B)) * perpendicular_unit_vector(A,B)
> 
>   So the length is proportional to the angle between them.
>   Perhaps it should have a better wording, though.

proportionality between the angle and the sine of an angle is only true
for very small angles (if you use radians to define the angle) 
   
    abs(alpha)<0.3   =>  alpha = sin(alpha) +/- 0.5%

I think it's more usefull for those non-mathematicians out there to read
that the length of the cross product of two vectors is proportional to
an area...

Uwe.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.