topic Re: Reg: 2D arc definition through toolkit in Customization
https://community.ptc.com/t5/Customization/Reg-2D-arc-definition-through-toolkit/m-p/478979#M628
<P>It's basic geometry. You have a center point, you have two end points. Define a vector from the center point to each of the end points. Calculate the angle from each vector with respect to the reference axis (X axis, I believe). The only thing that might be tricky about it is if the function you are feeding these values into needs them in a range of zero to 360 degrees, or -180 to +180 degrees.</P>Wed, 02 Aug 2017 10:53:50 GMTKenFarley2017-08-02T10:53:50ZReg: 2D arc definition through toolkit
https://community.ptc.com/t5/Customization/Reg-2D-arc-definition-through-toolkit/m-p/478844#M626
<P>Hi All,</P>
<P>I wanted to know how to calculate start and end angle of an arc with the following data known:</P>
<P>1. Starting Point</P>
<P>2. Ending Point</P>
<P>3. Center of the arc</P>
<P>4. Radius</P>
<P>Any information related to this will be very helpful.</P>
<P> </P>
<P>Thanks in advance!</P>
<P>Srikanth</P>Fri, 30 Nov 2018 15:39:34 GMThttps://community.ptc.com/t5/Customization/Reg-2D-arc-definition-through-toolkit/m-p/478844#M626skashyap2018-11-30T15:39:34ZRe: Reg: 2D arc definition through toolkit
https://community.ptc.com/t5/Customization/Reg-2D-arc-definition-through-toolkit/m-p/478957#M627
<P>Above information is required to draw a sketch (2D Arc)</P>Wed, 02 Aug 2017 05:17:34 GMThttps://community.ptc.com/t5/Customization/Reg-2D-arc-definition-through-toolkit/m-p/478957#M627skashyap2017-08-02T05:17:34ZRe: Reg: 2D arc definition through toolkit
https://community.ptc.com/t5/Customization/Reg-2D-arc-definition-through-toolkit/m-p/478979#M628
<P>It's basic geometry. You have a center point, you have two end points. Define a vector from the center point to each of the end points. Calculate the angle from each vector with respect to the reference axis (X axis, I believe). The only thing that might be tricky about it is if the function you are feeding these values into needs them in a range of zero to 360 degrees, or -180 to +180 degrees.</P>Wed, 02 Aug 2017 10:53:50 GMThttps://community.ptc.com/t5/Customization/Reg-2D-arc-definition-through-toolkit/m-p/478979#M628KenFarley2017-08-02T10:53:50ZRe: Reg: 2D arc definition through toolkit
https://community.ptc.com/t5/Customization/Reg-2D-arc-definition-through-toolkit/m-p/478984#M629
<P>Thanks a lot !</P>
<P> </P>
<P>As you said my main intention is to understand what values to be allocated in 2D arc structure. As you mentioned, will it be zero to 360 degrees, or -180 to +180 degrees.</P>Wed, 02 Aug 2017 11:30:59 GMThttps://community.ptc.com/t5/Customization/Reg-2D-arc-definition-through-toolkit/m-p/478984#M629skashyap2017-08-02T11:30:59Z