I want to make a arc when I know two end point on the arc and radius of arc.
How to do about it?
Maili Wed, 05/06/2009 - 12:45
I don't know if there is better solution but I would create a circle, a curve from this circle and then project two end points on this curve and find two parameters (GeomAPI_ProjectPointOnCurve::LowerDistanceParameter) and then create a trimmed curve using circle and parameters (Geom_TrimmedCurve)
Hope it helps..
Wed, 05/06/2009 - 12:45
I don't know if there is better solution but I would create a circle, a curve from this circle and then project two end points on this curve and find two parameters (GeomAPI_ProjectPointOnCurve::LowerDistanceParameter) and then create a trimmed curve using circle and parameters (Geom_TrimmedCurve)
Hope it helps..
Wed, 05/06/2009 - 15:36
Hi,
take a look at "GC_MakeArcOfCircle", this class should have the function you need.
Thu, 05/07/2009 - 11:03
I'll try it. thank you!