Table of Contents

Method IsCodirectionalTo

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

IsCodirectionalTo(GeoVector2)

Determines whether this vector points the same way as another, using the default tolerance.

public bool IsCodirectionalTo(GeoVector2 other)

Parameters

other GeoVector2

The vector to compare with.

Returns

bool

true if the vectors are parallel and point the same way; otherwise, false.

IsCodirectionalTo(GeoVector2, Tolerance)

Determines whether this vector points the same way as another, within a tolerance.

public bool IsCodirectionalTo(GeoVector2 other, Tolerance tolerance)

Parameters

other GeoVector2

The vector to compare with.

tolerance Tolerance

The tolerance.

Returns

bool

true if the vectors are parallel and point the same way; otherwise, false.