Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

[C++ V8i] Replicating the Facet Curve - Equal Chord Length method

$
0
0

Hi Everyone,

I am looking to replicate the equal chord length method in the Facet Curve microstation tool.

Currently I am using mdlBspline_computeEqualChordByLength() and specifying a chord length equal to the length of the bspline divided by the number of chords I am looking for but this does not match the result of the Facet Curve tool.  Any suggestions?

Thanks!

mdlMeasure_linearProperties(&length, NULL, NULL, NULL, NULL, NULL, NULL, NULL, bsplineDscrP, 0.001);
mdlBspline_computeEqualChordByLength(&pPoints, NULL, &nNumPoints, (length / segmentsRequired), &curve);
mdlElmdscr_createFromVertices(&pStroked, NULL, pPoints, nNumPoints, FALSE, -1);
dlmSystem_mdlFree(pPoints);

Viewing all articles
Browse latest Browse all 7260

Trending Articles