CurveEvaluator on drawing (.idw)

CurveEvaluator on drawing (.idw)

Anonymous
Not applicable
269 Views
0 Replies
Message 1 of 1

CurveEvaluator on drawing (.idw)

Anonymous
Not applicable

Hi,

 

Is there a CurveEvaluator for use in 2D drawings?

I'm trying to figure out if a quadrant point of an arc is on the arc or not.

 

here's what I tried so far;

 

                    CurveEvaluator  oCurveEval = default(CurveEvaluator);
                    oCurveEval = drawingCurve.Evaluator3D;
                    double[] oCor = new double[3];
                    double[] geussParam = new double[2];
                    double[] maxDev = new double[2];
                    double[] paramsdf = new double[2];
                    SolutionNatureEnum[] soluNatur = new SolutionNatureEnum[1];

 

                    returnGeomIntent = oSheet.CreateGeometryIntent(dCurve, PointIntentEnum.kCircularTopPointIntent);
                    oCor[0] = returnGeomIntent.PointOnSheet.X;
                    oCor[1] = returnGeomIntent.PointOnSheet.Y;
                    oCor[2] = 0;

                    oCurveEval.GetParamAtPoint(ref oCor, ref geussParam, ref maxDev, ref paramsdf, ref soluNatur);

 

Similar code with an CurveEvaluator2D gives also no results.

Thanks,

0 Likes
270 Views
0 Replies
Replies (0)