isParallelTo Method
Test if this and other area parallel, with angle tolerance Geometry.smallAngleRadiansSquared.
isParallelTo(other: Vector2d, oppositeIsParallel: boolean = false): boolean
| Parameter | Type | Description |
|---|---|---|
| other | Vector2d | second vector for comparison. |
| oppositeIsParallel | boolean | if true, treat vectors 180 opposite as parallel. If false, treat those as non-parallel. |
Defined in
Last Updated: 08 January, 2020