M_Rhino_Geometry_Vector3d_IsParallelTo_1 - mcneel/rhinocommon-api-docs GitHub Wiki
Determines whether this vector is parallel to another vector, within a provided tolerance.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public int IsParallelTo(
Vector3d other,
double angleTolerance
)
VB
Public Function IsParallelTo (
other As Vector3d,
angleTolerance As Double
) As Integer
- other
- Type: Rhino.Geometry.Vector3d
Vector to use for comparison. - angleTolerance
- Type: System.Double
Angle tolerance (in radians).
Type: Int32
Parallel indicator:
+1 = both vectors are parallel.
0 = vectors are not parallel or at least one of the vectors is zero.
-1 = vectors are anti-parallel.
Supported in: 6.0.16224.21491, 5D58w
Vector3d Structure
IsParallelTo Overload
Rhino.Geometry Namespace