Click or drag to resize

VectorIsSameDirection Method

Determines whether this vector points in the same direction as the specified vector.

Namespace: Woodwork.Automation.Common
Assembly: WoodworkAutomation (in WoodworkAutomation.dll) Version: 10.2.1+e3fd5885edfa7211ba46258e0eed5ac221a54381
Syntax
bool IsSameDirection(
	Vector vector,
	double tolerance = 1E-07
)

Parameters

vector  Vector
The vector to compare with.
tolerance  Double  (Optional)
The tolerance for comparison. Default is DoubleCompareTolerance (1E-07).

Return Value

Boolean
true if the vectors point in the same direction within tolerance, or false otherwise.
See Also