Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics
 

Geom2dGcc_Circ2d3Tan problem

Geom2dGcc_Circ2d3Tan problem
Tomas Pafco 2010/02/25 13:29
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

Thomas 2010/02/25 14:20
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.
Tomas Pafco 2010/02/26 13:12
Thanks. It's good to know that the problem is not on my side :). But it makes whole thing more difficult ...
Mauro Mariotti 2012/10/11 12:43
Does anyone use the Geom2dGcc package ?

I have already found a trivial bug in Geom2dGcc_Lin2d2Tan
(search for Mauro 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.
Mauro
You have to be logged in to download the attached file
 
 
Latest news
  • New features to enhance the development process
  • Open CASCADE Technology 6.7.1 is available for download!
  • Open CASCADE Technology 6.7.0 is available for download!

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map