Sat, 12/21/2002 - 20:49
Given 3 gp_Pnt objects P1, P2, P3 which are used to form two lines P1 & P2, and P2 & P3 (i.e a sector of a circle, centered at P2). Can you please suggest how I obtain the angle formed by the two lines (i.e angle of the circle sector)
Sat, 12/21/2002 - 21:26
You can use the gp_Vec class. It handles this sort of vector algebra stuff.
Standard_Real angle = v1.Angle(v2);