isColinear MethodStatic
Check whether or not the curves lie in a straight line, and if so, return a colinear ray.
- This test does not take curve traversal or point order into account.
isColinear(curves: MultiLineStringDataVariant | AnyCurve, options?: PlanarColinearOptions): undefined | Ray3d
@returns ray colinear with input, or undefined if input is not colinear.
| Parameter | Type | Description |
|---|---|---|
| curves | MultiLineStringDataVariant | AnyCurve | input geometry: curves or points. |
| options | PlanarColinearOptions | bundle of options. |
Returns - undefined | Ray3d
ray colinear with input, or undefined if input is not colinear.
Defined in
- curve/CurveOps.ts Line 227
Last Updated: 28 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.