MLightCAD
    Preparing search index...

    Preview jig that dynamically updates a polyline while the user is acquiring the next point.

    Responsibilities:

    • Keep the already-confirmed vertices visible.
    • Add a transient "current" vertex that follows the cursor.
    • Update the bulge of the last confirmed vertex to preview arc/line changes.

    Why this jig exists:

    • Point acquisition needs live geometry updates as the cursor moves.
    • We update the polyline incrementally (add/remove a single temp vertex) instead of reset() to avoid flicker and preserve transient state.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    Methods

    Constructors

    • Create a polyline preview jig for point acquisition.

      Parameters

      • view: AcEdBaseView

        The associated view for transient rendering.

      • points: AcGePoint2d[]

        Confirmed polyline vertices.

      • bulges: (number | undefined)[]

        Bulge values aligned with points.

      • OptionalcurrentBulge: number

        Optional fixed bulge used for the preview segment.

      • OptionalbulgeProvider: (endPoint: AcGeVector2dLike) => number | undefined

        Optional function to compute bulge based on the current cursor point.

      Returns AcApPolylineJig

    Accessors

    Methods