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
otherGeoVector2The 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
otherGeoVector2The vector to compare with.
toleranceToleranceThe tolerance.
Returns
- bool
true if the vectors are parallel and point the same way; otherwise, false.