cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Re: RE: Arc angles

Highlighted
FV
Moonstone

Re: RE: Arc angles

Hello all,

My apologies but I did not understand the question.

If you are asking about how to get an arbitrary point on an arc - you would not need this old pile of code from ten years ago. Just use   ProCurveParamByLengthEval() or ProEdgeParamByLengthEval(), with the parameter argument changing from 0.0 to 1.0:

int max_steps = 100;
for( int i = 0; i < max_steps; ++i ) {
double t2 = -1.0;
ProPoint3d point = {0.0,0.0, 0.0};
 ProCurveParamByLengthEval (curve, (double) i/max_steps, 0.0, &t2, point);
}

 HIH.

FV.