Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data Structure for ARC WITH 3 points

  • Thread starter Thread starter raghu.patthar
  • Start date Start date
R

raghu.patthar

Guest
Dear All,


I want to know what data structure is used within Pro/Toolkit for defining Arc with 3 points, namely Start Point, Endpoint, Center and radius.


It is certaily not Pro2dArcdefsince it contains only:


typedef struct
{
Pro2dEntType type; /* PRO_2D_ARC */
Pro2dPnt center;
ProAngle start_angle;
ProAngle end_angle;
double radius;
} Pro2dArcdef;

Please let me know your openions on this matter.





Raghu
 
There is no specific structure for ARC With 3 points. You have to calculate the start angle and end angle to define the correct value in the pPro2dArcdef structure (2D) or the ProArcdata structure (3D)





Simon
 

Part and Inventory Search

Sponsor

Back
Top