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

OpenSCAD: inner curved edges between 2 circles
Replacing trigonometric functions in Sympy
How does atan appear in haversine formula?
Sympy cancelling terms in the Jacobian of polar coordinates transformation
Distance formula between two Lat/Longs Autoit?
Trigonometric Functions in Pseudo Code
Inverse-Kinematics: How to calculate angles for servos of a robotic arm to reach all possible points in a canvas?
How to calculate Heading using Gyro and magnetometer
Integral of a sign function proof
Best way working with trigonometric functions
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

Categories

HOME
google-app-engine
kentico
google-cloud-platform
c99
fpga
formal-languages
depth
jelastic
shiro
error-handling
nuget
spring-data-mongodb
pyqt4
gembox-spreadsheet
regular-language
babeljs
jtextpane
pattern-matching
fhir
mel
tput
selenium-ide
frequency-distribution
zerobrane
linear-algebra
atlassian-stash
asp.net-mvc-viewmodel
google-maps-autocomplete
ag
poedit
cgbitmapcontext
parcelable
xcode-ui-testing
definitelytyped
siri
itunes
beautifier
stackexchange
mat
ms-access-2003
firebase-analytics
bringtofront
browser-sync
volatile
complex-numbers
zend-debugger
mustache
r-grid
gojs
sendbird
fiware-cygnus
python-pptx
latitude-longitude
openproject
zoomify
sim-card
odoo-website
datacachefactory
wmp
android-ibeacon
xbmc
clarifai
edit
cmp
shinobi
android-instrumentation
sandcastle
stax
webjars
microstation
qtplugin
dimension
refinerycms
shopping
stream-processing
grgit
microsoft-reporting
rubaxa-sortable
android-launcher
zscript
wso2greg
telepat
node-serialport
uvc
cakephp-2.7
showdialog
theos
android-cookiemanager
jbake
easyrtc
paste
maven-scm
light
model-driven-development
merb
onload-event
http-status-code-410
robotlegs
dopostback
mkv
midlet
jquery-blockui
cakephp-1.2
correlated-subquery
window-decoration
cross-database
hibernateexception
expression-blend-4
socketserver
delimited-text
zend-rest
skype4java
interop-domino
xpsdocument
application-planning
int64
firefox-3
dsoframer
xslcompiledtransform
wcf-proxy
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