For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

the parameter range of a circle

Ming's picture

I found that the parameter range of a circle (GeomAbs_Circle) is not within 2*PI. Deos anyone know how to the range of how normalize the parameter of a vertex on the circle within 2*PI?

I am so urgent to get the method. Thanks a lot.

François Lauzon's picture

Hello Ming,
where did you find that? Parameter range of a Geom_Circle and all TopoDS_Edge based on Geom_Circle should be [0,2*PI[.


Ming's picture


I got a point on a Geom_Curve (I absolutely know it is a circle). And then compute its parameter using GeomAPI_ProjectPointOnCurve class. Finally, I found the corresponding parameter is greater than 2*PI.

Is there particular method to compute the parameter of a point on a circle? If so, how to convert a Geom_Curve to Geom_Circle?



Rob Bachrach's picture

GeomAPI_ProjectPointOnCurve finds a point on the infinite curve. A circle is periodic. Therefore, if the returned parameter is greater than 2*PI, it simply means it computed it on a period beyond the first. You should be able to find the parameter you want by simply taking the modulus with 2*PI (or subtracting 2*PI until it is in range).

François Lauzon's picture

Hello Ming,
so if you do something like
if (aCurve->IsKind(STANDARD_TYPE(Geom_Circle)))

you have a circle... You created it? Because sometime NURBS might be identical to circle, but parameter range could be different.

Ming's picture

I got the curve handle from an edge, which has been known to be an arc.
Thanks a lot for your help.


Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.