Description
This function checks if this vector is codirectional to the vectorv vec. Namely, it checks if after normalization this vector is within the distance tolerance.equalVector() from the normalization of the vector vec.
Returns true if this condition is met and false otherwise.
Visual Basic
Public Function IsCodirectionalTo( vector As Vector2d, tolerance As Tolerance ) As bool
C#
public bool IsCodirectionalTo( Vector2d vector, Tolerance tolerance );
Parameters
| Parameters | Description |
|---|---|
| Vector2d vector | Input vector |
| Tolerance tolerance | Input tolerance value |