brepjs API Reference
    Preparing search index...

    Interface Curve2DHandle

    A disposable handle to a 2D curve (Geom2d_Curve or similar).

    Created by 2D curve constructors (line2d, circle2d, etc.) and disposed via Symbol.dispose / the using keyword.

    The .raw property accesses the underlying kernel handle for passing to kernel methods. Throws if the handle has been disposed.

    interface Curve2DHandle {
        "[___curve2d]": true;
        disposed: boolean;
        raw: any;
        "[dispose]"(): void;
    }

    Hierarchy

    • Disposable
      • Curve2DHandle
    Index

    Properties

    "[___curve2d]": true
    disposed: boolean

    Whether this handle has been disposed.

    raw: any

    The underlying kernel handle. Throws if disposed.

    Methods

    • Returns void