ICircle2d_DG

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

ICircle2d_DG

Postby Alex Voight » Tue Nov 05, 2019 11:59 pm

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: 46
Joined: Mon Apr 04, 2016 4:55 am

Re: ICircle2d_DG

Postby Prashant Kande » Thu Nov 07, 2019 1:09 am

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

Postby Alex Voight » Thu Nov 07, 2019 11:20 pm

Thank you, Prashant


Return to “General Issues”

Who is online

Users browsing this forum: No registered users and 3 guests