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

Last Updated: 07 October, 2025