Compares two vectors to see if they are perpendicular.
Rhino.IsVectorPerpendicularTo (arrVector1, arrVector2 [, dlbAngleTolerance])
arrVector1 |
Required. Array. The 3-D vector. |
arrVector2 |
Required. Array. The 3-D vector to compare to. |
dlbAngleTolerance |
Optional. Number. The angle tolerance in radians. Of omitted, Rhino's default angle tolerance, PI/180.0, is used. |
Boolean |
True if the vectors are perpendicular, otherwise False. |
Null |
On error. |
Dim arrVector1, arrVector2
arrVector1 = Array(1,0,0)
arrVector2 = Array(0,1,0)
MsgBox Rhino.IsVectorPerpendicularTo arrVector1, arrVector2