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
ICircle2d_DG
-
- Posts: 121
- Joined: Mon Apr 04, 2016 4:55 am
Re: ICircle2d_DG
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
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