Page 1 of 1


Posted: Tue Nov 05, 2019 11:59 pm
by Alex Voight
Documentation is a bit cryptic about
ICircle2d_DG.Init1(DG2D center, DG2D axis, double radius)
This is 2d case, right? What is the axis then?
I need to construct a circle from its ends and a curvature. Could anybody suggest the right way?
Thanks in advance

Re: ICircle2d_DG

Posted: Thu Nov 07, 2019 1:09 am
by Prashant Kande
Hi Alex
The axis parameter defines "local axes" of the circle. It affects parameterisation, which is normally [0, 2PI]. After this call point with parameter .0 will be in the axis direction on the circle.

Regarding your problem. Try this to find center of the circle: ... -are-given.
The radius is 1.0/curvature.
It is a good point. We will add a method to the interface for that in a week or so.

Re: ICircle2d_DG

Posted: Thu Nov 07, 2019 11:20 pm
by Alex Voight
Thank you, Prashant