DiscussionsIssue archiveOther usage issues

Archived discussion

Geom2dGcc_Circ2d3Tan problem

Other usage issuesThu, 02/25/2010 - 15:293 replies

Browse this forum
QuestionAuthor

Hi all,

In my application, I am trying to implement a function which finds all the circles tangent to another three geometric objects (lines or circles).I am using a Geom2dGcc_Circ2d3Tan class for this. But it works fine only with three objects of the same type (three lines or three circles). In case of line-line-circle or line-circle-circle it doen't find all the solutions, just a few of them (sometines only 3). I'm using GccEnt_unqualified qualifier for all three input objects (curves).
Does anybody know, what can be wrong? I have also found out, that the Geom2dGcc_Circ2d3Tan(circle, circle, line, ...) doesn't find the same solutions as the Geom2dGcc_Circ2d3Tan(line, circle, circle, ...), which comes strange to me..
Thanks for any help or hint.

Tomas

Discussion

3 archived replies

Posts are displayed in their archived order.

01Commenter-1

These functions are seriously flawed and often produce wrong results. :)
I once post a bunch of cases on a bug report, but never got an answer.

02Author

Thanks. It's good to know that the problem is not on my side :). But it makes whole thing more difficult ...

03Commenter-2

Does anyone use the Geom2dGcc package ?

I have already found a trivial bug in Geom2dGcc_Lin2d2Tan
(search for Commenter-2 in the attached file).

Now I tried Geom2dGcc_Circ2d3Tan and I found that the whole evaluation of the function to minimize (GccIter_FunctionTanCuCuCu::Values(...) in GccIter_FunctionTanCuCuCu.gxx) is under #if 0 !

Regards.
Commenter-2