 | VectorIsSameDirection Method |
Determines whether this vector points in the same direction as the specified vector.
Namespace: Woodwork.Automation.CommonAssembly: WoodworkAutomation (in WoodworkAutomation.dll) Version: 10.2.1+e3fd5885edfa7211ba46258e0eed5ac221a54381
Syntaxbool IsSameDirection(
Vector vector,
double tolerance = 1E-07
)
Function IsSameDirection (
vector As Vector,
Optional tolerance As Double = 1E-07
) As Boolean
Parameters
- vector Vector
- The vector to compare with.
- tolerance Double (Optional)
- The tolerance for comparison. Default is DoubleCompareTolerance (1E-07).
Return Value
Booleantrue if the vectors point in the same direction within tolerance, or
false otherwise.
See Also