isPlanar MethodStatic
Check whether or not the curves are planar, and if so, return a localToWorld frame.
isPlanar(curves: MultiLineStringDataVariant | AnyCurve, options?: PlanarColinearOptions): undefined | Transform
@returns  localToWorld frame T for coplanar curves, or undefined if they are not coplanar.
T satisfies:
- T.originis in the plane.
- T.matrix.columnZ()is the plane unit normal (or its negative).
- T.matrix.isRigid()returns true.
- T.inverse()is worldToLocal; apply to input geometry to rotate it into the xy-plane.
| Parameter | Type | Description | 
|---|---|---|
| curves | MultiLineStringDataVariant | AnyCurve | input geometry: curves or points. | 
| options | PlanarColinearOptions | bundle of options. | 
Returns - undefined | Transform
localToWorld frame T for coplanar curves, or undefined if they are not coplanar.
T satisfies:
- T.originis in the plane.
- T.matrix.columnZ()is the plane unit normal (or its negative).
- T.matrix.isRigid()returns true.
- T.inverse()is worldToLocal; apply to input geometry to rotate it into the xy-plane.
Defined in
- curve/CurveOps.ts Line 212
Last Updated: 24 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.