ICircle2d_DG

Technical discussions
Post Reply
Alex Voight
Posts: 2
Joined: Tue Nov 05, 2019 11:55 pm

ICircle2d_DG

Post by Alex Voight »

Hello
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

Prashant Kande
Posts: 57
Joined: Mon Apr 04, 2016 4:55 am

Re: ICircle2d_DG

Post 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:
https://www.quora.com/How-do-we-find-th ... -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.
Regards

Alex Voight
Posts: 2
Joined: Tue Nov 05, 2019 11:55 pm

Re: ICircle2d_DG

Post by Alex Voight »

Thank you, Prashant

Post Reply