 | VectorIsSameDirection Method |
Determines whether this vector points in the same direction as the specified vector.
Namespace: Woodwork.Automation.CommonAssembly: WoodworkAutomation (in WoodworkAutomation.dll) Version: 14.5.1+cea593b982d79fcd8924a2e3fdf7aefc7fb02118
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