Create a polyline preview jig for point acquisition.
The associated view for transient rendering.
Confirmed polyline vertices.
Bulge values aligned with points.
OptionalcurrentBulge: numberOptional fixed bulge used for the preview segment.
OptionalbulgeProvider: (endPoint: AcGeVector2dLike) => number | undefinedOptional function to compute bulge based on the current cursor point.
The transient polyline entity being previewed.
End the jig and clear any transient preview state.
Should be called when the user finalizes input (mouse click or Enter) to prevent further updates and allow garbage collection.
Render the preview entity through the associated view.
Equivalent to AutoCAD’s worldDraw() — called after each update(value).
Update the preview polyline as the cursor moves.
This updates:
Preview jig that dynamically updates a polyline while the user is acquiring the next point.
Responsibilities:
Why this jig exists:
reset()to avoid flicker and preserve transient state.