Mon, 10/05/2015 - 12:04
Forums:
Hello,
I tried to split a curve in set of curve with a same lenght.
for a straight line , it is very simple, but in my case i have a general curve Geom_Curve.
Does anyone have any suggestions for me?
Thanks in advance
Mon, 10/05/2015 - 14:39
I have found a solution:
Standard_Integer h_count = (Standard_Integer)ceil(step_dist);
GCPnts_QuasiUniformAbscissa cc(adaptor, h_count);
if (cc.IsDone()) {
Standard_Integer nc_count = cc.NbPoints();
.......................