Run the bundled curve example
From the ForCAD checkout, open a compiler shell and run the curve example.
fpm run --example demo_curve --profile release
The example writes example/output/vtk/demo_curve_Xg.vtk for the sampled curve and example/output/vtk/demo_curve_Xc.vtk for its control polygon. Open the sampled curve in a VTK viewer such as ParaView.
The example source shows how it creates the control polygon, samples the curve, and writes each file.