Description:

Determines whether this vector is parallel to another vector, within a provided tolerance.

Syntax:
public int IsParallelTo(
Vector3d other,
double angleTolerance
)
Parameters:
  • other
  • Type: Vector3d
  • Vector to use for comparison.
  • angleTolerance
  • Type: double
  • Angle tolerance (in radians).
Returns:
Type: int
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.
Available since:
5.0

Description:

Determines whether this vector is parallel to another vector, within one degree (within Pi / 180).

Syntax:
public int IsParallelTo(
Vector3d other
)
Parameters:
  • other
  • Type: Vector3d
  • Vector to use for comparison.
Returns:
Type: int
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.
Available since:
5.0

IsParallelTo method

Class:  Rhino.Geometry.Vector3d

Nothing found