trigonometry


How to calculate points of Chord


I need to calculate a chord`s starting and ending point, now I have the starting point which lies on the circumfrence of the circle and I also have the angle between starting point and ending point, but I cannot seem to find a way to determine the end of point of chord as it should lie on the circumfrence , I also have the centre and radius of circle, the methods I have looked over the internet all give chord length. So i in short I need to find the other end of a chord when one point and the angle between both points is given, any idea of links would be appreciated
thanks
Imran
The arbitrary point on the circle with center (X0,Y0) and radius R has coordinates
x = Xo+R*cos(a)
y = Y0+R*sin(a), 0<=a<2*Pi
knowing X,Y,X0,Y0 and R you can easily find angle a:
a = acos((x-X0)/R) (may be + Pi depending on sign of the y-Y0).
Then you can calculate the angle for the second chord endpoint (you'll have two solutions actually) - a+angle and a-angle. Then put angle you got into circle equation and you'll get your required points coordinates.

Related Links

Calculate place of point C to be equal distance away from points A and B
How to compute sum of angles from sine and cossine?
Counting trig ops as measure() function to fu() in sympy
Find a coordinate along a path
Angle calculation resulting in strange behavior
Shift angle orientation using atan2
estimate angle between two lines y = 1000x and y = 999x
Need help revising a simple formula to make it universal
SWIFT trig functions
Simplifying atan(tan(a+b))
2 Different Radians constant calcuations whats the difference?
Trigonometry & Sunset
Calculating collisions with Radians incrementing
How do arbitrary-precision libraries like mpmath evaluate simple trigonometric functions?
How can I calculate the angle
Finding Shortest Distance Between Two Parallel Lines, With Arbitrary Point [closed]

Categories

HOME
xml
twitter-bootstrap-3
mjml
angular2-material
jwplayer
tivoli
maxscript
jquery-ui
trac
owin
google-chrome-app
google-content-api
git-extensions
question2answer
pagespeed
roslyn
exploit
short-url
monit
genexus-sd
sinch
boost-asio
github3.py
installscript
arduino-ide
least-squares
imx6
dm-script
typesafe-config
magento-1.9.3
parser-generator
android-ibeacon
linqpad
sharp-snmp
plr
apollostack
importerror
phpdbg
puredata
dbcontext
magic-draw
compiler-design
oracleclient
colorbar
edit
payload
rackspace-cloud
py2neo
cd-burning
stripe-connect
latin
envi
mta
jodd
hclust
turbo-prolog
nio2
crouton-os
terracotta
themoviedb-api
xenomai
oracle-spatial
coda
matlab-deployment
procedural-programming
document-repository
dbaccess
theos
spy++
device-tree
nsmenu
with-statement
scriptaculous
video-codecs
dopostback
objectquery
workflow-services
cdonts
svk
uideviceorientation
isapi-extension
pagemethods
echo3
silverlight-oob
image-capture

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App