Compares two vectors to see if they are parallel.
rhinoscriptsyntax.IsVectorParallelTo (vector1, vector2)
rhinoscript.pointvector.IsVectorParallelTo (vector1, vector2)
vector1 |
Required. List of 3 numbers, Point3d, or Vector3d. The 3-D vector. |
vector2 |
Required. List of 3 numbers, Point3d, or Vector3d. The 3-D vector to compare to. |
Number |
The result of the comparison if successful. The possible results are as follows:
|
||||||||
None |
On error. |
import rhinoscriptsyntax as rs
vector1 = (1,0,0)
vector2 = (0,1,0)
print rs.IsVectorParallelTo( vector1, vector2 )