shean85
asked on
Draw ARC
I need to find Start angle and End angle for the ARC with known Radius(r),Center point(x0,y0),Start(x1,y1) and End(x2,y2) points of the ARC.
Please help me.
Thank you.
Please help me.
Thank you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
hm ... just forgot to mention you'll have to include <math.h> if not yet included ...
ZOPPO
ZOPPO
Are you using ObjectArx? Cause if so, you can :
dStartAngle = (Start - Center).angleTo(AcGeVector
dEndAngle = (End - Center).angleTo(AcGeVector
where Start, Center, End are AcGePoint2d.
Radius information is useless/redundant.