Extrema for large circles/line


The Geom extrema API's are not finding extrema/intersections for
very large circle/line.

Create a circle with centre 0 0 0 and radius 50000.
create a line passing ( 0 0 -50500, 0 0 50500) thru this circle.
Finding extrema gives only one solution ( the farthest point).

For small circles ( of radius 100) , the API gives 4 solutions.
Why not for the earlier case.



Jane Hu's picture

Hello, PG

I am trying to calculate curve interior extrema with respect to x/y/z axis, and I am trying to use GeomAPI_ExtremaCurveCurve.
Are you using GeomAPI_ExtremaCurveCurve to calculate here too? Are you calculating for the circle's extrema with respect to z axis? (I am thinking 2 solutions then?)